-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: p4-plugin
-
None
-
Environment:p4-plugin 1.8.8
jenkins 2.98
The P4_CHANGELIST and P4_CLIENT values seen in the environment end up with values from the Jenkinsfile checkout, and not from the workspace mapping in the script.
I have checked againstĀ --JENKINS-42411-- andĀ ---- and attempted the workarounds.JENKINS-38401
For both lightweight and regular Jenkinsfile checkout cases the resultingĀ P4_CHANGELIST and P4_CLIENT values reflect the script checkout, not theĀ checkout invoked in the script.
(The results of the checkout invoked in the script seem to have the correct perforce retrieval though.Ā The console output show the correct in-script workspace name used in p4 client/changes/reconcile/sync commands.)