Details
-
Improvement
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
Change to workspace behaviour.
Current design:
The Lightweight checkout for Pipeline (using the 'Pipeline script from SCM' option) uses a Temporary workspace. The Temporary workspace syncs the Jenkinsfile Script into the @Script directory, but then continues to use it for the Implicit checkout step (assuming you declarative).
Proposed design:
Auto delete the temporary workspace for the Jenkinsfile Script checkout. Create a workspace based on the name format field in the configuration for the implisit checkout step.
Hi rg,
The proposed changes are now in the master and you can access the build here:
https://ci.jenkins.io/job/Plugins/job/p4-plugin/job/master/294/