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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      jenkins 2.89.3 LTS
      blueocean 1.4.0
    • Epic Link:
    • Sprint:
      Blue Ocean 1.4 - beta 5
    • Similar Issues:

      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

            Hide
            michaelneale Michael Neale added a comment -

            cc Vivek Pandey 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)

            Show
            michaelneale Michael Neale added a comment - cc Vivek Pandey 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)
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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
            Hide
            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. 

            Show
            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. 
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            +1

            Awesome turn around time!

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: