Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67836

Pipeline: Groovy Plugin [SECURITY-2463] excessive path length

      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.

       

       

          [JENKINS-67836] Pipeline: Groovy Plugin [SECURITY-2463] excessive path length

          61115anon created issue -
          61115anon made changes -
          Description Original: 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]|[https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85#diff-751ef0b8272fefc4b69f6302b381e99ddc17417176a159adaf9e98e5d83566d4R73].]  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|https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365#diff-eaa8a410be0be48d82766e1847edc6c3f7fec81bd6446edeb4ce7de98a6bd74dR40] and [Pipeline: Multibranch|https://github.com/jenkinsci/workflow-multibranch-plugin/commit/71c3f0a6ccdb2ba43f43686826b0d62160df85e8#diff-14ae4841ae3d878106476d5dcb1c56e8b344ddf1bfbaeef73fc707f2354e0304R76] plugins as well.

           

           
          New: 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]|https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85#diff-751ef0b8272fefc4b69f6302b381e99ddc17417176a159adaf9e98e5d83566d4R73].  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|https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365#diff-eaa8a410be0be48d82766e1847edc6c3f7fec81bd6446edeb4ce7de98a6bd74dR40] and [Pipeline: Multibranch|https://github.com/jenkinsci/workflow-multibranch-plugin/commit/71c3f0a6ccdb2ba43f43686826b0d62160df85e8#diff-14ae4841ae3d878106476d5dcb1c56e8b344ddf1bfbaeef73fc707f2354e0304R76] plugins as well.

           

           
          61115anon made changes -
          Description Original: 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]|https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85#diff-751ef0b8272fefc4b69f6302b381e99ddc17417176a159adaf9e98e5d83566d4R73].  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|https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365#diff-eaa8a410be0be48d82766e1847edc6c3f7fec81bd6446edeb4ce7de98a6bd74dR40] and [Pipeline: Multibranch|https://github.com/jenkinsci/workflow-multibranch-plugin/commit/71c3f0a6ccdb2ba43f43686826b0d62160df85e8#diff-14ae4841ae3d878106476d5dcb1c56e8b344ddf1bfbaeef73fc707f2354e0304R76] plugins as well.

           

           
          New: 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|https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85#diff-751ef0b8272fefc4b69f6302b381e99ddc17417176a159adaf9e98e5d83566d4R73].  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|https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365#diff-eaa8a410be0be48d82766e1847edc6c3f7fec81bd6446edeb4ce7de98a6bd74dR40] and [Pipeline: Multibranch|https://github.com/jenkinsci/workflow-multibranch-plugin/commit/71c3f0a6ccdb2ba43f43686826b0d62160df85e8#diff-14ae4841ae3d878106476d5dcb1c56e8b344ddf1bfbaeef73fc707f2354e0304R76] plugins as well.

           

           
          61115anon made changes -
          Issue Type Original: New Feature [ 2 ] New: Improvement [ 4 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-2111 [ JENKINS-2111 ]

            Unassigned Unassigned
            mpalla 61115anon
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: