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

      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

            Unassigned Unassigned
            mcobden Marcus Cobden
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: