[JIRA] (JENKINS-59151) Blue ocean nodes are not marked red when parallel stage fails

5 views
Skip to first unread message

davidjackson@wawanesa.com (JIRA)

unread,
Aug 30, 2019, 11:30:03 AM8/30/19
to jenkinsc...@googlegroups.com
David Jackson created an issue
 
Jenkins / Bug JENKINS-59151
Blue ocean nodes are not marked red when parallel stage fails
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: BlueOceanBug.PNG
Components: blueocean-plugin, pipeline
Created: 2019-08-30 15:29
Environment: Jenkins 2.176.2
Blueocean 1.7.2
Priority: Minor Minor
Reporter: David Jackson
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.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

VictorMartinezRubio@gmail.com (JIRA)

unread,
Sep 4, 2019, 3:32:06 AM9/4/19
to jenkinsc...@googlegroups.com
Victor Martinez updated an issue
Change By: Victor Martinez
Attachment: image-2019-09-04-08-31-15-005.png

VictorMartinezRubio@gmail.com (JIRA)

unread,
Sep 4, 2019, 3:41:02 AM9/4/19
to jenkinsc...@googlegroups.com
Victor Martinez commented on Bug JENKINS-59151
 
Re: Blue ocean nodes are not marked red when parallel stage fails

That particular pipeline works as expected in my case based on (see the below screenshot):

  • Blue Ocean 1.18.1
  • Jenkins Core 2.176.2

I'd recommend upgrading the version of Blue Ocean as it seems this particular behaviour doesn't happen with newer versions.

vivek.pandey@gmail.com (JIRA)

unread,
Sep 5, 2019, 11:01:03 AM9/5/19
to jenkinsc...@googlegroups.com
Vivek Pandey resolved as Cannot Reproduce
 

Looks like this has been fixed. Please try blueocean 1.18.1 or greater.

Change By: Vivek Pandey
Status: Open Resolved
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages