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

Configuration is not saven when two git repositories are added

    XMLWordPrintable

Details

    Description

      The plug-in does not store the configuration when two git repositories are used.

      Steps to reproduce:

      • New Project
      • Select Multi-SCM
      • Add git
      • Enter valid values for the URL and branches
      • Add another git
      • Enter valid values for the URL and branches
      • Save
      • Configure

      => The values for the git repository are empty

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/org/jenkinsci/plugins/multiplescms/MultiSCM.java
            http://jenkins-ci.org/commit/multiple-scms-plugin/78c5c7d81c3a2c5410138137153838d46f28e0ce
            Log:
            Add support of newInstance() invocation

            Plugin invokes newInstance() instead of DataBoundConstructor.
            Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>

            [FIXED JENKINS-19818]
            [FIXED JENKINS-9287]

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/org/jenkinsci/plugins/multiplescms/MultiSCM.java http://jenkins-ci.org/commit/multiple-scms-plugin/78c5c7d81c3a2c5410138137153838d46f28e0ce Log: Add support of newInstance() invocation Plugin invokes newInstance() instead of DataBoundConstructor. Signed-off-by: Oleg Nenashev <nenashev@synopsys.com> [FIXED JENKINS-19818] [FIXED JENKINS-9287]

            Is this issue resolved? I am getting the same error with TFS multipple SCM option. The configurations are getting wiped out .

            My Jenkins version is 1.558 and multiple scm plugin version is : 0.3.. Please help me to resolve this issue.Thanks!!!

            nimnku Nimi Sukumaran added a comment - Is this issue resolved? I am getting the same error with TFS multipple SCM option. The configurations are getting wiped out . My Jenkins version is 1.558 and multiple scm plugin version is : 0.3.. Please help me to resolve this issue.Thanks!!!
            nir_a nir avnery added a comment - - edited

            This still happens with git + repo-scm version 0.5 and jenkins 1.617

            nir_a nir avnery added a comment - - edited This still happens with git + repo-scm version 0.5 and jenkins 1.617
            uscengineer USC Engineer added a comment -

            I am having a similar issue with git + aws codepipeline. Version 0.6 and jenkins 1.642. Git is saved correctly but aws codepipeline config is wiped out.

            uscengineer USC Engineer added a comment - I am having a similar issue with git + aws codepipeline. Version 0.6 and jenkins 1.642. Git is saved correctly but aws codepipeline config is wiped out.

            Suggest that you migrate to Pipeline plugin, which offers a supported way of checking out from multiple scms
            https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin

            rodrigc Craig Rodrigues added a comment - Suggest that you migrate to Pipeline plugin, which offers a supported way of checking out from multiple scms https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin

            People

              kbell Kevin Bell
              drulli Ulli Hafner
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: