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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

       

       

            Assignee:
            Unassigned
            Reporter:
            61115anon
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: