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

A recent update breaks builds by escaping slashes to percent signs in workspace paths

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      2.1.2

      Description

      After a recent update, slashes in git branches (e.g. bugfix/branch-description) are escaped into workspace path names using %2F, as in wkspacepath/bugfix%2Fbranch-description. This breaks the build on my windows machine. The slashes used to be translated to underscores.

        Attachments

          Issue Links

            Activity

            godskalk Øyvind R created issue -
            godskalk Øyvind R made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-44360 [ JENKINS-44360 ]
            godskalk Øyvind R made changes -
            Link This issue relates to JENKINS-54640 [ JENKINS-54640 ]
            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 -
            Link This issue relates to JENKINS-21942 [ JENKINS-21942 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Assignee Denis Saponenko [ vaimr ] Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 137 (Web Link)" [ 22072 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            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.2
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            phkoc Philippe Kocher made changes -
            Attachment GitRepoBranchName.png [ 49722 ]
            Attachment JenkinsBuildWorkspace.png [ 49723 ]
            phkoc Philippe Kocher made changes -
            Attachment JenkinsBuildWorkspace.png [ 49723 ]
            phkoc Philippe Kocher made changes -
            Attachment GitRepoBranchName.png [ 49722 ]
            phkoc Philippe Kocher made changes -
            Attachment GitRepoBranchName.png [ 49724 ]
            Attachment JenkinsBuildWorkspace.png [ 49725 ]
            phkoc Philippe Kocher made changes -
            Attachment JenkinsBuildWorkspace.png [ 49725 ]
            phkoc Philippe Kocher made changes -
            Attachment GitRepoBranchName.png [ 49724 ]
            phkoc Philippe Kocher made changes -
            Attachment JenkinsBuildWorkspace.png [ 49726 ]
            phkoc Philippe Kocher made changes -
            Attachment GitRepoBranchName.png [ 49727 ]
            phkoc Philippe Kocher made changes -
            Comment [ **

            Dear Community, (same message with alle picture)

            I'm facing the same problem with my multibranch pipeline project: "feature/branch" from a git repository is transformed to "feature%2Fbranch" which causes build to fail because the build process cannot find the files. As mentionned above, I did an update of Jenkins and the branch API plugin but the problem is still remaining.

             

            I'm working with:

            Jenkins version 2.190.3

            Branch API Plugin Version 2.5.5

            I saw tat PR#137 should solve the problem. Is this PR already merged, i.e. available in the latest release of Jenkins Branch API Plugin available? If yes, I think that the issue is still active and not resolved.

            Any update about this issue?

            Find also attached to this message two screenshot conerning the issue: the Branch name on git and the result on the Jenkins Workspace.

             

            Thanks a lot for your help

             

            Best regards

             

            !GitRepoBranchName.png!

              ]
            jhuels Josh Huels made changes -
            Attachment image-2019-12-26-10-20-28-987.png [ 49901 ]
            jrichards Jeff Richards made changes -
            Link This issue is related to JENKINS-60785 [ JENKINS-60785 ]

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              godskalk Øyvind R
              Votes:
              2 Vote for this issue
              Watchers:
              15 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: