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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: