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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            mirceaalbu Mircea-Andrei Albu added a comment - - edited The problem was due to my NginX. https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+Nginx

            People

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

              Dates

                Created:
                Updated:
                Resolved: