-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
1.3.8-SNAPSHOT (private-3c567c28-jenkins)
I have a pipeline project configured that is tied in to Swarm. Earlier today my review build succeeded, but after I submitted my changelist the committed build failed. When I looked at the console output I found that the p4unshelve task was attempting to unshelve the review into the wrong workspace.
My pipeline script looks something like this:
node(linux) {
p4sync stream: '//buildtools/jenkins_review_workflow'
pipeline = load 'workflows/linux-p4-review-build.groovy'
pipeline.run_workflow()
}
Within pipeline.run_workflow, there is another checkout call and an unshelve that occurs. The 2nd sync is where the actually source code is downloaded and that should be the workspace where the unshelve is performed as well, however the unshelve is actually being perforrmed against the workspace where the original p4sync was called.
- relates to
-
JENKINS-42510 Allow workspace to be set via the pipeline build step
- Closed