-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Not A Defect
-
Component/s: workflow-scm-step-plugin
-
Labels:None
-
Similar Issues:
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
What branch source are you using in this example? (E.g., config.xml of multibranch project.) And what software versions? I would need to be able to reproduce from scratch, since there has long been automated test coverage demonstrating that the same revision is checked out each time. Also please attach the build log.