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

“path sanitization ineffective when using legacy Workspace Root Directory” ending in slash (was: Branch API 2.1.1 Path Length)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • branch-api-plugin
    • None
    • Windows 10
      Jenkins 2.138.3
      Branch API 2.1.1
    • 2.2.0

      I have a multibranch project that recently started spitting out weird errors, due to path length being too long. This issue was traced down to recent the changes in this plugin. I look briefly around in your code for a way around this. My project depends on the PATH_MAX variable. When I switched to the new MAX_LENGTH variable, it gave the full name not a shorten version. Can please implement a way to shorten the path?

            jglick Jesse Glick
            nsikkema Nick Sikkema
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: