[JIRA] (JENKINS-60586) build step are not shown on pipeline visualization for Parallel multi Node

2 views
Skip to first unread message

aviss7@gmail.com (JIRA)

unread,
Dec 25, 2019, 2:42:04 AM12/25/19
to jenkinsc...@googlegroups.com
avi shaaya created an issue
 
Jenkins / Bug JENKINS-60586
build step are not shown on pipeline visualization for Parallel multi Node
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Screen Shot 2019-12-25 at 9.32.08.png
Components: blueocean-plugin
Created: 2019-12-25 07:41
Environment: Jenkins ver. 2.164.1
Blue Ocean 1.21.0
Priority: Major Major
Reporter: avi shaaya

I used the "Parallel Multiple Nodes" example from: https://jenkins.io/doc/pipeline/examples/#trigger-job-on-all-nodes.

Heres my code:

def labels = ['X', 'Y'] // labels for Jenkins node types we will build on
def builders = [:]
for (x in labels) {
def label = x // Need to bind the label variable before the closure - can't do 'for (label in labels)'

// Create a map to pass in to the 'parallel' step so we can fire all the builds at once
builders[label] = {
node(label) {
stage("SCM")

{ echo env.STAGE_NAME }

stage("Setup")

{ echo env.STAGE_NAME }
stage("Build"){ echo env.STAGE_NAME }

stage("Host unitTest")

{ echo env.STAGE_NAME }
stage("DUT unitTest"){ echo env.STAGE_NAME }

stage("QA tests")

{ echo env.STAGE_NAME }
stage("Teardown"){ echo env.STAGE_NAME }

}
}
}
parallel builders

 

i expected that BlueOcean will show the progress of each node (in parallel) but instead the progress is under the node name and can be viewed only when clicking the node name . ( see attached screenshot).

I expected the following structure:

 

start--XSCMSetupBuild–-Host unitTest–-DUT unitTest–QA tests–Teardown-–End

              |                                                                                                                                |

             Y-SCMSetupBuild–-Host unitTest–-DUT unitTest–QA tests–Teardown-

 

 

 

 

 

 

 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages