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

Duplicated changes when running a Workflow script from SCM

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: git-plugin, pipeline
    • Labels:
      None
    • 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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: