-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
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.)
to clarify my submission description, I attempted the workarounds to no remedial effect