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

Revision checked out by "checkout scm" can change if new commits happen during build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If new commits go into a repo after a build has started we find later stages running against a different commit to the earlier stages.

      We've been using checkout scm + stash/unstash to work around this

      I've made a test repo to demonstrate the issue: https://github.com/leth/jenkins-pipeline-scm-test

        Attachments

          Activity

          mcobden Marcus Cobden created issue -
          mcobden Marcus Cobden made changes -
          Field Original Value New Value
          Attachment config.xml [ 34766 ]
          mcobden Marcus Cobden made changes -
          Attachment consoleText.txt [ 34767 ]
          jglick Jesse Glick made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              mcobden Marcus Cobden
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: