Details
-
Improvement
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
Jenkins 2.319.3
Pipeline: Groovy plugin 2656.vf7a_e7b_75a_457
Description
With this update, workspace subfolders are created with a 64-character randomized name. This can result in path length limit violations in established Jenkins pipeline projects on a Windows system, which has a default max path of 260 characters. The code generating this long folder name appears to be from commit SECURITY-2463/SECURITY-2595. It looks like the supplied length integer of '32' is resulting in a a 64-character folder name. Can the length integer be reduced to '8' or '16' for better compatibility with Windows systems? The same code was introduced in the Pipeline: Shared Groovy Libraries and Pipeline: Multibranch plugins as well.
Attachments
Issue Links
- relates to
-
JENKINS-2111 removing a job (including multibranch/org folder branches/repos) does not remove the workspace
-
- Resolved
-
For comparison, we used to have similar problems with the workspace paths of Pipeline branch projects, which were resolved (I hope!) by switching to a different scheme whereby a truncated yet human-readable version of the branch name becomes the directory name but conflicts are explicitly prevented by means of an index file listing branches and corresponding directories. See https://github.com/jenkinsci/branch-api-plugin/pull/129.