Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21688

Jenkins Multiple SCMs plugin - .3 throwing error

      I have installed the plugin version .3 and my Jenkins version is 1.452. The plugin has installed successfully. I am trying to connect to Accurev for scm.
      I have selected the radio button Multiple SCMs and then Add scm. I selected Accurev. Three fields appear after that which are Server, Depot, Stream. The Server filed is a drop down and should show value as Accurev, which it is not showing. Then I input the Depot and Stream information. ONce done, I add another SCm, which is Accurev as well. Same steps are followed and the Server drop down still remains empty. When I try to save the job, it gives me the saying " Cannot instantiate class".

      I click configure job again and it is now giving me the Server drop down as Accurev. But when I give the Depot/Stream information and save the job, and then again configure the job, the depot and stream details are lost and the fields are empty.

          [JENKINS-21688] Jenkins Multiple SCMs plugin - .3 throwing error

          I have looked more into the issue.

          Issue 1: The depot and stream details are not visible, however in the config.xml file of the job, I can see the details. Also the job runs fine and fetches the information from Accurev. For some reason, it does not display the details in the job configuration.

          Issue 2: After adding the Accurev scm, if the "Use custom Workspace" is checked, and I try to save the job, it fails to save the job with below error:

          java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.multiplescms.MultiSCM from {"scmList":[

          {"depot":"","ignoreStreamParent":false,"kind":"hudson.plugins.accurev.AccurevSCM","serverName":"Accurev","stapler-class":"hudson.plugins.accurev.AccurevSCM","stream":"","synctime":false,"workspaceSubPath":""}

          ,{"depot":"","ignoreStreamParent":false,"kind":"hudson.plugins.accurev.AccurevSCM","serverName":"Accurev","stapler-class":"hudson.plugins.accurev.AccurevSCM","stream":"","synctime":false,"useWorkspace":

          {"usePurgeIfLastFailed":false,"useRevert":false,"useUpdate":false,"workspace":"home/ctier/Prithula111/GTA-Build"}

          ,"workspaceSubPath":""}],"value":"3"}

          Prithula Mukherjee added a comment - I have looked more into the issue. Issue 1: The depot and stream details are not visible, however in the config.xml file of the job, I can see the details. Also the job runs fine and fetches the information from Accurev. For some reason, it does not display the details in the job configuration. Issue 2: After adding the Accurev scm, if the "Use custom Workspace" is checked, and I try to save the job, it fails to save the job with below error: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.multiplescms.MultiSCM from {"scmList":[ {"depot":"","ignoreStreamParent":false,"kind":"hudson.plugins.accurev.AccurevSCM","serverName":"Accurev","stapler-class":"hudson.plugins.accurev.AccurevSCM","stream":"","synctime":false,"workspaceSubPath":""} ,{"depot":"","ignoreStreamParent":false,"kind":"hudson.plugins.accurev.AccurevSCM","serverName":"Accurev","stapler-class":"hudson.plugins.accurev.AccurevSCM","stream":"","synctime":false,"useWorkspace": {"usePurgeIfLastFailed":false,"useRevert":false,"useUpdate":false,"workspace":"home/ctier/Prithula111/GTA-Build"} ,"workspaceSubPath":""}],"value":"3"}

          I just released multiple-scms 0.4
          Is this problem still occurring with the new version?

          Craig Rodrigues added a comment - I just released multiple-scms 0.4 Is this problem still occurring with the new version?

            kbell Kevin Bell
            prithula Prithula Mukherjee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: