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

Open in blue ocean button does not work for runs when the branch name contains a /

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • frank, christmas

      Summary: URL is double encoded in classic, but should not be when opening blue ocean.

      There is no ATH coverage for "open blue ocean" (should there be?)

      404 should be another ticket (likely already is one open).

      Steps to reproduce

      1. Go to https://ci.blueocean.io/job/blueocean/job/bug%252FJENKINS-39158/1/
      2. Click open in blue ocean
      3. No 404, the page is broken
      4. URL is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%252FJENKINS-39158/1/

      What should happen
      The real URL to this run is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%2FJENKINS-39158/1/pipeline

      Why is the 404 handling broken? (A: should be in another ticket, not related to this)
      Where is the ATH for this? (A: isn't a regression, no coverage for open button yet - but may as well should be)

          [JENKINS-40137] Open in blue ocean button does not work for runs when the branch name contains a /

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-35750 [ 171713 ]
          James Dumay made changes -
          Rank New: Ranked higher

          Michael Neale added a comment - - edited

          Michael Neale added a comment - - edited https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%252FJENKINS-39158/1/ Ah: https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%2FJENKINS-39158/1/pipeline should be the URL. Blue ocean does not double url encode, classic does. tfennelly this looks like a small ish thing.
          Michael Neale made changes -
          Description Original: *Steps to reproduce*
          # Go to https://ci.blueocean.io/job/blueocean/job/bug%252FJENKINS-39158/1/
          # Click open in blue ocean
          # No 404, the page is broken
          # URL is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%252FJENKINS-39158/1/

          *What should happen*
          The real URL to this run is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%2FJENKINS-39158/1/pipeline

          Why is the 404 handling broken?
          Where is the ATH for this?
          New: Summary: URL is double encoded in classic, but should not be when opening blue ocean.

          There is no ATH coverage for "open blue ocean" (should there be?)

          404 should be another ticket (likely already is one open).

          *Steps to reproduce*
          # Go to https://ci.blueocean.io/job/blueocean/job/bug%252FJENKINS-39158/1/
          # Click open in blue ocean
          # No 404, the page is broken
          # URL is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%252FJENKINS-39158/1/

          *What should happen*
          The real URL to this run is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%2FJENKINS-39158/1/pipeline

          Why is the 404 handling broken?
          Where is the ATH for this?
          Michael Neale made changes -
          Assignee New: Tom FENNELLY [ tfennelly ]
          Michael Neale made changes -
          Summary Original: REGRESSION: open in blue ocean does not work for runs when the branch name contains a / New: Open in blue ocean button does not work for runs when the branch name contains a /
          Michael Neale made changes -
          Description Original: Summary: URL is double encoded in classic, but should not be when opening blue ocean.

          There is no ATH coverage for "open blue ocean" (should there be?)

          404 should be another ticket (likely already is one open).

          *Steps to reproduce*
          # Go to https://ci.blueocean.io/job/blueocean/job/bug%252FJENKINS-39158/1/
          # Click open in blue ocean
          # No 404, the page is broken
          # URL is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%252FJENKINS-39158/1/

          *What should happen*
          The real URL to this run is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%2FJENKINS-39158/1/pipeline

          Why is the 404 handling broken?
          Where is the ATH for this?
          New: Summary: URL is double encoded in classic, but should not be when opening blue ocean.

          There is no ATH coverage for "open blue ocean" (should there be?)

          404 should be another ticket (likely already is one open).

          *Steps to reproduce*
          # Go to https://ci.blueocean.io/job/blueocean/job/bug%252FJENKINS-39158/1/
          # Click open in blue ocean
          # No 404, the page is broken
          # URL is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%252FJENKINS-39158/1/

          *What should happen*
          The real URL to this run is https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/bug%2FJENKINS-39158/1/pipeline

          Why is the 404 handling broken? (A: should be in another ticket, not related to this)
          Where is the ATH for this? (A: isn't a regression, no coverage for open button yet - but may as well should be)
          James Dumay made changes -
          Sprint Original: tasman [ 136 ] New: frank [ 156 ]
          James Dumay made changes -
          Rank New: Ranked lower

            tfennelly Tom FENNELLY
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: