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

SCM - Cloning multiple git repositories in parallel causes same change multiple times in pipeline job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.32.2
    • Similar Issues:

      Description

      Build page contain same change list multiple times, when using parallel in pipeline.

      parallel (
          "test1" : {
                checkout([
                          $class: 'GitSCM',
                              branches: [[
                                  name: 'master'
                              ]],
                              doGenerateSubmoduleConfigurations: false,
                              extensions: [[
                                  $class: 'RelativeTargetDirectory',
                                  relativeTargetDir: 'test1'
                              ],[
                                  $class: 'ScmName',
                                  name: 'test1'
                              ]],
                              submoduleCfg: [],
                              userRemoteConfigs: [[
                                  credentialsId: 'test',
                                  url: 'ssh://git@github.com/test1'
                              ]]
                      ])
          },
          "test2" : {
                checkout([
                          $class: 'GitSCM',
                              branches: [[
                                  name: 'master'
                              ]],
                              doGenerateSubmoduleConfigurations: false,
                              extensions: [[
                                  $class: 'RelativeTargetDirectory',
                                  relativeTargetDir: 'test2'
                              ],[
                                  $class: 'ScmName',
                                  name: 'test2'
                              ]],
                              submoduleCfg: [],
                              userRemoteConfigs: [[
                                  credentialsId: 'test',
                                  url: 'ssh://git@github.com/test2'
                              ]]
                      ])
           },
          "test3" : {
                checkout([
                          $class: 'GitSCM',
                              branches: [[
                                  name: 'master'
                              ]],
                              doGenerateSubmoduleConfigurations: false,
                              extensions: [[
                                  $class: 'RelativeTargetDirectory',
                                  relativeTargetDir: 'test3'
                              ],[
                                  $class: 'ScmName',
                                  name: 'test3'
                              ]],
                              submoduleCfg: [],
                              userRemoteConfigs: [[
                                  credentialsId: 'test',
                                  url: 'ssh://git@github.com/test3'
                              ]]
                      ])
           }
       )
      

        Attachments

          Issue Links

            Activity

            Hide
            paulwellnerbou Paul Wellner Bou added a comment -

            mishal shah I don't think this bug is git-changelog-plugin related, this plugin is needed for other special things and does not checkout/clone any git repositories. This might be git-plugin related, I assume.

            Why do you think it is git-changelog-plugin related? Which version of the git-changelog-plugin do you have installed?

            Show
            paulwellnerbou Paul Wellner Bou added a comment - mishal shah I don't think this bug is git-changelog-plugin related, this plugin is needed for other special things and does not checkout/clone any git repositories. This might be git-plugin related, I assume. Why do you think it is git-changelog-plugin related? Which version of the git-changelog-plugin do you have installed?
            Hide
            shahmishal mishal shah added a comment -

            Paul Wellner Bou I was not sure which component this should be assigned to, I will move it to git-plugin. Thanks!

            Show
            shahmishal mishal shah added a comment - Paul Wellner Bou I was not sure which component this should be assigned to, I will move it to git-plugin. Thanks!
            Hide
            ralphie02 Ralph A added a comment -

            Does anyone know of any good workaround for this?? I'm currently experiencing the same issue on my pipeline projects. In addition, I think it's also causing my rules/"additional behaviour" to be ignored: "Polling ignores commits from certain users"/"Polling ignores commits with certain messages".

            These all started to fail around the same time and they're all from Git Plugin so I suspect that they're all related.

            Show
            ralphie02 Ralph A added a comment - Does anyone know of any good workaround for this?? I'm currently experiencing the same issue on my pipeline projects. In addition, I think it's also causing my rules/"additional behaviour" to be ignored: "Polling ignores commits from certain users"/"Polling ignores commits with certain messages". These all started to fail around the same time and they're all from Git Plugin so I suspect that they're all related.
            Hide
            shahmishal mishal shah added a comment -

            We are still seeing this issue with Git Plugin 3.2.0. 

            Show
            shahmishal mishal shah added a comment - We are still seeing this issue with Git Plugin 3.2.0. 
            Hide
            walliski Kim added a comment -

            Still seeing this, has anyone come up with a workaround for it, or any progress?

            Show
            walliski Kim added a comment - Still seeing this, has anyone come up with a workaround for it, or any progress?

              People

              • Assignee:
                paulwellnerbou Paul Wellner Bou
                Reporter:
                shahmishal mishal shah
              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: