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

Duplicated changes when running a Workflow script from SCM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • git-plugin, pipeline
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: