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

Workspace directory names mangled in multibranch pipeline

      Apparently after a recent update of plugins, our Multibranch Pipeline jobs started putting their workspaces in mangled locations. They used to be, for example, in D:\jenkins\cm-jenkins-09\my-pipline-job\my-branch-name and now they're like D:\jenkins\cm-jenkins-09\ine-job_my-banch-name-5P5URKHPJXWGGVIWDQOJBB3N7RJECAQJGFTDCVOPY3PABO7LNTIQ

      There are several problems with this:

      1. They're difficult to read with all that garbage at the end, and the beginning of the name sometimes cut off
      2. They're not organized within the parent job like they used to be
      3. This is causing files within them to have extremely long paths such that Windows won't actually let us delete them (Jenkins, CMD, and Windows Explorer all fail to delete them)

      Let me know if I can provide any other information to help solve this. This is a private Jenkins install so I can't point you to it.

          [JENKINS-38706] Workspace directory names mangled in multibranch pipeline

          Tyrel Haveman created issue -
          Tyrel Haveman made changes -
          Description Original: Apparently after a recent update of plugins, our Multibranch Pipeline jobs started putting their workspaces in mangled locations. They used to be, for example, in {{D:\jenkins\cm-jenkins-09\my-pipline-job\my-branch-name}} and now they're like {{D:\jenkins\cm-jenkins-09\ine-job_my-banch-name-5P5URKHPJXWGGVIWDQOJBB3N7RJECAQJGFTDCVOPY3PABO7LNTIQ}}

          There are several problems with this:
          # They're difficult to read with all that garbage at the end, and the beginning of the name sometimes cut off
          # They're not organized within the parent job like they used to be
          # This is causing files within them to have extremely long paths such that Windows won't actually let us delete them (Jenkins, CMD, and Windows Explorer all fail to delete them)
          # It looks like, at least sometimes, jobs are getting a brand new workspace each time they run, causing disk space usage to climb very quickly

          Let me know if I can provide any other information to help solve this. This is a private Jenkins install so I can't point you to it.

          New: Apparently after a recent update of plugins, our Multibranch Pipeline jobs started putting their workspaces in mangled locations. They used to be, for example, in {{D:\jenkins\cm-jenkins-09\my-pipline-job\my-branch-name}} and now they're like {{D:\jenkins\cm-jenkins-09\ine-job_my-banch-name-5P5URKHPJXWGGVIWDQOJBB3N7RJECAQJGFTDCVOPY3PABO7LNTIQ}}

          There are several problems with this:
          # They're difficult to read with all that garbage at the end, and the beginning of the name sometimes cut off
          # They're not organized within the parent job like they used to be
          # This is causing files within them to have extremely long paths such that Windows won't actually let us delete them (Jenkins, CMD, and Windows Explorer all fail to delete them)

          Let me know if I can provide any other information to help solve this. This is a private Jenkins install so I can't point you to it.

          Edward Easton made changes -
          Environment Original: Windows 2012 x64, Java 1.8, Jenkins 2.7.4, Pipeline: Multibranch 2.9, Pipeline: API 2.4 New: Windows 2012 x64, Java 1.8, Jenkins 2.7.4, Pipeline: Multibranch 2.9, Pipeline: API 2.4, Linux Python
          Christian Höltje made changes -
          Link New: This issue duplicates JENKINS-38506 [ JENKINS-38506 ]
          Tyrel Haveman made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-34564 [ JENKINS-34564 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          twolfart made changes -
          Link New: This issue is duplicated by JENKINS-40072 [ JENKINS-40072 ]
          Øyvind R made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-48176 [ JENKINS-48176 ]
          Andrew Bayer made changes -
          Link New: This issue is duplicated by JENKINS-49251 [ JENKINS-49251 ]

            Unassigned Unassigned
            tyrelh Tyrel Haveman
            Votes:
            76 Vote for this issue
            Watchers:
            102 Start watching this issue

              Created:
              Updated:
              Resolved: