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

Open Blue Ocean link with / character in branch name redirects to 404

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • blueocean-plugin
    • Jenkins ver. 2.164.1, Blue Ocean 1.14.0

      I am using a multi branch pipeline. The branches name contains a /
      Example: branch name is feature/ABS-62317

      When I am in a build in a multibranch pipeline in normal view, the URL is like this:
      job/<MyJobName>/job/feature%252FABS-62317/<MyBuildNumber>/

      When I am pressing Open Blue Ocean I am redirected to:
      blue/organizations/jenkins/<MyJobName>/detail/feature/ABS-62317/<MyBuildNumber>/
      The problem is that this will result in 404, page not found.
      The correct link should've been
      blue/organizations/jenkins/<MyJobName>/detail/feature*%2F*ABS-62317/<MyBuildNumber>/

      So replace the / in the url of the branch name with %2F
      Finally, after replacing the text and seing the build pipeline in ocean blue mode, if I press next/previous(the arrows from top left) and then refresh, I am redirected again to the 404 page.

            Unassigned Unassigned
            mirceaalbu Mircea-Andrei Albu
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: