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

Give the ability to choose how the multibranch subprojects will be named.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The %2F encoding of / breaks many software (msbuild for example) and can't be changed.
      Being able to provide a rule to build the subproject names from the branch name instead of just encoding things would permit to give the user the power to work around their problems with this kind of software.

      This would be an advanced option in which one can write something like a sed regex.

        Attachments

          Issue Links

            Activity

            Hide
            michaelneale Michael Neale added a comment -

            I am not sure how that works, never used it, but I know the new "default" is to not use URI encoding and I think that PATH_MAX=0 forces it to not use the default - if you can try it would be good. 

            Show
            michaelneale Michael Neale added a comment - I am not sure how that works, never used it, but I know the new "default" is to not use URI encoding and I think that PATH_MAX=0 forces it to not use the default - if you can try it would be good. 
            Hide
            varun7447 Varun Reddy added a comment -

            I have completely removed and now the workspace folders names are large.

            I think that was the main reason I have added PATH_MAX=0. Now Is there a way I can avoid long path

            Show
            varun7447 Varun Reddy added a comment - I have completely removed and now the workspace folders names are large. I think that was the main reason I have added PATH_MAX=0. Now Is there a way I can avoid long path
            Hide
            michaelneale Michael Neale added a comment -

            Varun Reddy if you set it to a value that is non zero - does it make it shorter without resorting to the URI encoding? 

            like set it to say 20 (it needs enough to make it not collide, as it will be a hash basically)

            Show
            michaelneale Michael Neale added a comment - Varun Reddy if you set it to a value that is non zero - does it make it shorter without resorting to the URI encoding?  like set it to say 20 (it needs enough to make it not collide, as it will be a hash basically)
            Hide
            varun7447 Varun Reddy added a comment -

            Michael Neale Yeah I tried different combinations. The encoding seems to be fixed. But the problem is the workspace names are messed up. If I have to troubleshoot anything it is hard by looking at the workspace name, if the workspace belongs to which job.

            Show
            varun7447 Varun Reddy added a comment - Michael Neale Yeah I tried different combinations. The encoding seems to be fixed. But the problem is the workspace names are messed up. If I have to troubleshoot anything it is hard by looking at the workspace name, if the workspace belongs to which job.
            Hide
            diewuq diewu qin added a comment -

            Anyone can tell me if this issue fixed? I use parameter " -Djenkins.branch.WorkspaceLocatorImpl.PATH_MAX=20 " but did not work, and my jenkins version is 2.89.4.

            Show
            diewuq diewu qin added a comment - Anyone can tell me if this issue fixed? I use parameter " -Djenkins.branch.WorkspaceLocatorImpl.PATH_MAX=20 " but did not work, and my jenkins version is 2.89.4.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                rkutic Kevin Grandemange
              • Votes:
                58 Vote for this issue
                Watchers:
                81 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: