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

blueocean 1.4.0 pipeline results screen does not allow clicking on parallel stages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • blueocean-plugin
    • None
    • jenkins 2.89.3 LTS
      blueocean 1.4.0
    • Blue Ocean 1.4 - beta 5

    Description

      If you run the pipeline below, click on it while it is running , you won't be able to click on the non focussed parallel branch (see video)

       

      I did a production deployment this morning upgrading from blueocean 1.3.4 -> 1.4.0 and immediately received developer reports that they were unable to reliably switch between branch views by clicking on nodes in the pipeline display graph.  This doesn't seem to be occurring with builds that have completed but it is critical usability problem as it prevents developers from monitoring builds in progress (which in our env, is often hours).

       

       Sample: 

      pipeline {
      agent any
      stages {
      
      
      stage("parallely") {
      parallel {
      stage('left') {
      steps {
      sh 'ping -c 100 www.apple.com' 
      }
      
      }
      
      stage('right') {
      steps {
      sh 'ping -c 100 www.apple.com' 
      }
      
      }
      
      }
      }
      }
      
      }

      Attachments

        Issue Links

          Activity

            michaelneale Michael Neale added a comment -

            cc vivek this is a serious one - Ivan is taking a look. will need to be cherry-picked and rolled in a 1.4.1 I think (hopefully minor)

            michaelneale Michael Neale added a comment - cc vivek this is a serious one - Ivan is taking a look. will need to be cherry-picked and rolled in a 1.4.1 I think (hopefully minor)
            imeredith Ivan Meredith added a comment -

            Just needed to use node.type to determine if it is parallel. It was always evaluating to false, and was probably introduced when node types were added

            https://github.com/jenkinsci/blueocean-plugin/pull/1639

            imeredith Ivan Meredith added a comment - Just needed to use node.type to determine if it is parallel. It was always evaluating to false, and was probably introduced when node types were added https://github.com/jenkinsci/blueocean-plugin/pull/1639
            michaelneale Michael Neale added a comment -

            The fix works, just need a test to cover it, and can cherry pick this out for a 1.4.1

            michaelneale Michael Neale added a comment - The fix works, just need a test to cover it, and can cherry pick this out for a 1.4.1
            michaelneale Michael Neale added a comment -

            OK found a dumb test. We actually had a test that tried to capture this, but it was ... not right. I fixed the test to ensure this never happens again. 

            michaelneale Michael Neale added a comment - OK found a dumb test. We actually had a test that tried to capture this, but it was ... not right. I fixed the test to ensure this never happens again. 

            +1

            Awesome turn around time!

            jhoblitt Joshua Hoblitt added a comment - +1 Awesome turn around time!

            People

              imeredith Ivan Meredith
              jhoblitt Joshua Hoblitt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: