Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-840

Slashes in branch name break the links inside Builds

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 2.7.2
    • Fix Version/s: None
    • Component/s: None

      Description

      When uploading the build output from a Jenkins Multibranch Pipeline which is connected to a repo with labeled branches (my/branch/name), links similar to "my :: branch%2Fname" are created under the Builds section in Artifactory. These are broken and cannot be navigated to due to the browser correctly interpreting "%2F" as a "/".

      This pull request is fixing this: https://github.com/JFrogDev/jenkins-artifactory-plugin/pull/35 by replacing "%2F" with " :: " in addition to replacing "/" with " :: ".

      Indirectly, https://github.com/JFrogDev/jenkins-artifactory-plugin/pull/5 can be fixed rather easily, as a better solution than the one proposed would be just using ExtractorUtils.sanitizeBuildName().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eyalbe Eyal Ben Moshe (Inactive)
                Reporter:
                razvan.botez Razvan Botez
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: