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

Duplicated changes when running a Workflow script from SCM

    Details

    • Similar Issues:

      Description

      To re-produce the issue is quite easy:

      1. Create a workflow job with Definition Workflow script from SCM (with for example git@bitbucket.org:<ACCOUNT>/git-bitbucket.git) and then you specify a script Path flow-ci-dev.groovy with:

      node {
          stage 'checkout'
          git credentialsId: '', url: 'git@bitbucket.org:<ACCOUNT>/git-bitbucket.git'
      }
      

      2. Click to build the job

      You will see duplicated changes like the ones attached.

      Not sure if this is a duplicate of JENKINS-29326 or if the issue is in Workflow or the git-plugin directly.

        Attachments

          Issue Links

            Activity

            fbelzunc Félix Belzunce Arcos created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-29326 [ JENKINS-29326 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 166248 ] JNJira + In-Review [ 197953 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                fbelzunc Félix Belzunce Arcos
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: