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

Link to Blue Ocean from a job that is outside an Organization folder returns 404

    Details

    • Similar Issues:
    • Epic Link:
    • Sprint:
      Blue Ocean 1.2-beta3

      Description

      If you have the root a Blue Ocean organization configured on a folder, the Blue Ocean from inside a job that isn't on the organization will return 404 when the result should be a link to the root of the organization.

      The reason seems to be the path to the root is resolved even being outside the org returning something in the form of: "../path_from_ROOT"

      Steps to reproduce the bug:

      • Go to the classic view
      • Create a simple hello world pipeline on the root of jenkins
      • Click "Open Blue Ocean" from inside the job

      Current result

      • That redirects to /blue/organizations/org_name/..%2Fjobname/activity which returns a 404

      Expected result

      • The root of the Blue Steel team should be opened instead of a 404 link

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alobato Alvaro Lobato
                Reporter:
                alobato Alvaro Lobato
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: