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

"Triggered Build" links broken with cloudbees-folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      jenkins core 2.89.4 LTS
      blueocean 1.5.0-beta-2
    • Sprint:
      Blue Ocean 1.5 - beta 3
    • Similar Issues:

      Description

      The links to triggered builds are broken, at least when using cloudbees-folder (did not test with jobs at the "root"). It looks like the job portion of the URL path is not being escaped.

        Attachments

          Activity

          Hide
          vivek Vivek Pandey added a comment -

          Joshua Hoblitt Thanks for reporting.

          Josh McDonald Looks like a bug in how run details url is constructed for downstream jobs. PTAL.

          Show
          vivek Vivek Pandey added a comment - Joshua Hoblitt Thanks for reporting. Josh McDonald Looks like a bug in how run details url is constructed for downstream jobs. PTAL.
          Hide
          vivek Vivek Pandey added a comment -

          To reproduce:

          Create a freestyle job downstream-job inside folder 'folder1', and have a pipeline job below to reproduce it:

          stage "Stage 1"
          stage ("Trigger jobs") {
              build '/folder1/downstream-job'
          }
          
          Show
          vivek Vivek Pandey added a comment - To reproduce: Create a freestyle job downstream-job inside folder 'folder1', and have a pipeline job below to reproduce it: stage "Stage 1" stage ( "Trigger jobs" ) { build '/folder1/downstream-job' }
          Hide
          michaelneale Michael Neale added a comment -

          Josh McDonald is there enough ^ to reproduce? 

           

           

          Show
          michaelneale Michael Neale added a comment - Josh McDonald is there enough ^ to reproduce?     
          Hide
          vivek Vivek Pandey added a comment -

          Josh McDonald Here is how you can create a freestyle job inside a folder on classic:

          1. Go to http://localhost:8080/view/all/newJob and select Folder, give it name folder1, click save.
          2. After step 1, you should land inside folder1 or go directly to http://localhost:8080/job/folder1/, click New Item again and create a freestyle job.

          Show
          vivek Vivek Pandey added a comment - Josh McDonald Here is how you can create a freestyle job inside a folder on classic: 1. Go to http://localhost:8080/view/all/newJob and select Folder, give it name folder1 , click save. 2. After step 1, you should land inside folder1 or go directly to http://localhost:8080/job/folder1/ , click New Item again and create a freestyle job.
          Show
          sophistifunk Josh McDonald added a comment - https://github.com/jenkinsci/blueocean-plugin/pull/1699
          Hide
          jhoblitt Joshua Hoblitt added a comment -

          +1 for the super fast fix.

          Show
          jhoblitt Joshua Hoblitt added a comment - +1 for the super fast fix.
          Hide
          sophistifunk Josh McDonald added a comment -

          Fixed in master @ d508e975be5c28ebfe26bd5dc0e054771b4829df

          Show
          sophistifunk Josh McDonald added a comment - Fixed in master @ d508e975be5c28ebfe26bd5dc0e054771b4829df
          Hide
          michaelneale Michael Neale added a comment -

          nice one Josh McDonald

           

          Joshua Hoblitt if it's not delivered in 30 minutes then it's free. 

          Show
          michaelneale Michael Neale added a comment - nice one Josh McDonald   Joshua Hoblitt if it's not delivered in 30 minutes then it's free. 

            People

            • Assignee:
              sophistifunk Josh McDonald
              Reporter:
              jhoblitt Joshua Hoblitt
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: