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

Blue ocean nodes are not marked red when parallel stage fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • blueocean-plugin, pipeline
    • None
    • Jenkins 2.176.2
      Blueocean 1.7.2

      pipeline {
          agent none
          stages {
              stage('Stage 1') {
                  steps {
                      echo "Stage 1"
                  }
              }
              stage('Parallel Stage') {
                  parallel {
                      stage('Stage 2') {
                          stages {
                              stage ('Stage 2.1') {
                                  steps {
                                      echo "Stage 2.1"
                                  }
                              }
                              
                              stage ('Stage 2.2') {
                                  steps {
                                      script {
                                          def parallelStage2 = [:]
                                          
                                          parallelStage2['Stage 2.2.1'] = {
                                              echo "Stage 2.2.1"
                                          }
                              
                                          parallelStage2['Stage 2.2.2'] = {
                                              echo "Stage 2.2.2"
                                          }
                                      
                                          parallel parallelStage2
                                      }
                                  }
                              }
                          }
                      }
                      stage('Stage 3') {
                          stages {
                              stage ('Stage 3.1') {
                                  steps {
                                      echo "Stage 3.1"
                                  }
                              }
                              
                              stage ('Stage 3.2') {
                                  steps {
                                      script {
                                          def parallelStage3 = [:]
                                          
                                          parallelStage3['Stage 3.2.1'] = {
                                              echo "Stage 3.2.1"
                                          }
                              
                                          parallelStage3['Stage 3.2.2'] = {
                                              echo "Stage 3.2.2"
                                              error("Intentional Failure")
                                          }
                                      
                                          parallel parallelStage3
                                      }
                                  }
                              }
                          }
                      }
                      
                  }
              }
          }
      }
      
      

      Using the above pipeline code snippet.  When a parallel stage is failed, blue ocean does not mark the node as red.  We have to click through each node during the parallel stage to figure out which stage the job failed at.

       

      Expected behavior should mark the Stage as red within the Blue Ocean UI.

       

            Unassigned Unassigned
            jacksod1 David Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: