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

Configuration is not saven when two git repositories are added

    XMLWordPrintable

    Details

    • Similar Issues:

      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

            Hide
            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]

            Show
            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]
            Hide
            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!!!

            Show
            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!!!
            Hide
            nir_a nir avnery added a comment - - edited

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

            Show
            nir_a nir avnery added a comment - - edited This still happens with git + repo-scm version 0.5 and jenkins 1.617
            Hide
            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.

            Show
            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.
            Hide
            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

            Show
            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

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

                Dates

                Created:
                Updated:
                Resolved: