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

Workspace folders are not unique

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      2.1.1

      Description

      Something changed in the naming of the workspace folders on the Jenkins Master node. Previously, the name the was suffixed with a long random (names are examples only, the exact length is different):

      MyProjectA1_MyBranch-ZOBMWQA2JSVUZRAPJAQ3NT3TSBIUQOS26N5CF3XJB@libs
      MyProjectA1_MyBranch-ZOBMWQA2JSVUZRAPJAQ3NT3TSBIUQOS26N5CF3XJB@script
      MyVeryLongBranchName-NHOUUZPM5MARPAN7OGASNLPNCKRLL26RQKEZIEEKC@libs
      MyVeryLongBranchName-NHOUUZPM5MARPAN7OGASNLPNCKRLL26RQKEZIEEKC@script
      MyVeryLongBranchName-TN6NSHXVGMKRKUOVV7CKNODZOK3JSHI4CQYCOR4E6@libs
      MyVeryLongBranchName-TN6NSHXVGMKRKUOVV7CKNODZOK3JSHI4CQYCOR4E6@script
      

      However now, this suffix seems to be removed, causing name clashes when different repositories have long but identical branch names:

      MyProjectA1_MyBranch@libs
      MyProjectA1_MyBranch@script
      MyVeryLongBranchName@libs    <<-\
      MyVeryLongBranchName@script     |   <<-\
      MyVeryLongBranchName@libs    <<-/      |
      MyVeryLongBranchName@script         <<-/
      

      The last two repositories are unrelated but map to the same directory, causing "unrelated repository" errors during checkout.

        Attachments

          Issue Links

            Activity

            kpop kpop created issue -
            kpop kpop made changes -
            Field Original Value New Value
            Environment Jenkins 2.151 Jenkins 2.151
            pipeline 2.5
            pipeline-multibranch 2.20
            kpop kpop made changes -
            Component/s pipeline-multibranch-defaults-plugin [ 21926 ]
            kpop kpop made changes -
            Link This issue relates to JENKINS-38706 [ JENKINS-38706 ]
            godskalk √ėyvind R made changes -
            Link This issue relates to JENKINS-54654 [ JENKINS-54654 ]
            jglick Jesse Glick made changes -
            Component/s branch-api-plugin [ 18621 ]
            Component/s pipeline [ 21692 ]
            Component/s pipeline-multibranch-defaults-plugin [ 21926 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-2111 [ JENKINS-2111 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 135 (Web Link)" [ 22041 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Labels regression
            abayer Andrew Bayer made changes -
            Labels regression regression triaged-2018-11
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            jglick Jesse Glick made changes -
            Released As 2.1.1
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Comment [ Pending a release, you could try [this build|https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/branch-api/2.1.1-rc660.81bbeda9b444/branch-api-2.1.1-rc660.81bbeda9b444.hpi] (via *Plugin Manager » Advanced*). ]
            kpop kpop made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            ralphtheninja Lars-Magnus Skog made changes -

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              kpop kpop
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: