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.
[JENKINS-54488] Lightweight checkout workspace
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Closed [ 6 ] |
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/