[JIRA] (JENKINS-58009) [Blue Ocean] Can't change focus in some parallel sequential stages before completion

2 views
Skip to first unread message

zakharovdi@gmail.com (JIRA)

unread,
Jun 13, 2019, 10:02:03 AM6/13/19
to jenkinsc...@googlegroups.com
Denis Zakharov created an issue
 
Jenkins / Bug JENKINS-58009
[Blue Ocean] Can't change focus in some parallel sequential stages before completion
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Focus.jpg
Components: blueocean-plugin
Created: 2019-06-13 14:01
Environment: Jenkins 2.164.3, BO 1.17.0
Priority: Minor Minor
Reporter: Denis Zakharov

We have some pipelines with long duration in parallel sequential steps. In some cases we can't look at stage logs in blue ocean because we can't switch on desired stage. Pipeline example and screenshot added.

pipeline {
    agent any
    stages {
	stage('Parallel') {
            failFast false
            parallel {
                stage('Nested B') {
                    stages {
                        stage('Nested B-1') {
                            steps {
                                echo env.STAGE_NAME
                            }
                        }
                        stage('Nested B-2') {
                            steps {
                                sleep time: 1, unit: 'MINUTES'
                            }
                        }
                    }
                }
                stage('Nested A') {
                    steps {
                        sleep time: 1, unit: 'MINUTES'
                    }
                }
            }
        }
    }
}

 

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

zakharovdi@gmail.com (JIRA)

unread,
Jun 13, 2019, 10:08:02 AM6/13/19
to jenkinsc...@googlegroups.com
Denis Zakharov updated an issue
Change By: Denis Zakharov
We have some pipelines with long duration in parallel sequential steps. In some cases we can't look at stage logs in blue ocean because we can't switch on desired stage. Pipeline example and screenshot added.

I think we can't change focus from one active stage to another in this case. When "Nested A" stage will be finished we'll be able to pick out "Nested B-2".


{code:java}

pipeline {
    agent any
    stages {
stage('Parallel') {
            failFast false
            parallel {
                stage('Nested B') {
                    stages {
                     stage('Nested B-1') {
                     steps {
                     echo env.STAGE_NAME
                     }
                     }
                     stage('Nested B-2') {
                     steps {
                     sleep time: 1, unit: 'MINUTES'
                     }
                     }
                    }
                }
                stage('Nested A') {
                    steps {
                     sleep time: 1, unit: 'MINUTES'
                    }
                }
            }
        }
    }
}
{code}
 

andrius-jenkins@stikonas.eu (JIRA)

unread,
Sep 5, 2019, 6:18:03 PM9/5/19
to jenkinsc...@googlegroups.com
Andrius Štikonas resolved as Fixed
 

Seems to be fixed in the latest release.

Change By: Andrius Štikonas
Status: Open Resolved
Resolution: Fixed
Released As: 1.19.0
Reply all
Reply to author
Forward
0 new messages