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

Unable to load steps for multibranch pipelines with / in them (eg feature/goo)

    XMLWordPrintable

Details

    • 1.0-m11

    Description

      Blue ocean is not able to load the steps for piplines that use a branch name convention of "feature/foo" (ie git branch type of things).

      It results in a 404:

      jenkins-js-extension.js:14924 GET http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/multi2/branches/feature/newhotness/runs/1/nodes/9/steps 404 (Not Found)

      as you can see, it is prematurely escaping the URL, or something?

      To reproduce:

      1) setup https://github.com/cloudbeers/blueocean-demo-project as a multibranch github project
      2) let them run
      3) try to open the feature/newhotness branch

      Attachments

        Issue Links

          Activity

            michaelneale Michael Neale added a comment -

            The correct encoding for this branch should be:

            http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/multi2/branches/feature%252Fnewhotness/runs/1/nodes/12/steps/

            that returns the steps correctly.

            cliffmeyers this mean anything to you?

            michaelneale Michael Neale added a comment - The correct encoding for this branch should be: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/multi2/branches/feature%252Fnewhotness/runs/1/nodes/12/steps/ that returns the steps correctly. cliffmeyers this mean anything to you?

            People

              cliffmeyers Cliff Meyers
              michaelneale Michael Neale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: