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

    • Blue Ocean 1.2-beta3

      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

          [JENKINS-45474] Link to Blue Ocean from a job that is outside an Organization folder returns 404

          Alvaro Lobato created issue -
          Alvaro Lobato made changes -
          Assignee New: Alvaro Lobato [ alobato ]
          Alvaro Lobato made changes -
          Labels New: cloudbees-internal-steel
          James Dumay made changes -
          Sprint New: Blue Ocean 1.2-beta3 [ 346 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          Alvaro Lobato made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Alvaro Lobato added a comment -

          This isn't a Blue Ocean defect, the cause was a miss use of the API. 

          Alvaro Lobato added a comment - This isn't a Blue Ocean defect, the cause was a miss use of the API. 
          Alvaro Lobato made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal CJP-7258 (Web Link)" [ 19100 ]

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

              Created:
              Updated:
              Resolved: