-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins ver. 2.107.1
Blue Ocean 1.4.2
If a nested parallel stage fails, it is not correctly indicated in blue ocean. Often failing stages are marked green. Sometimes successful stages are marked red, if another stage is failing.
The following pipeline gives an example.
pipeline { agent any options { timeout(time: 120, unit: 'MINUTES') timestamps() skipDefaultCheckout() } stages { stage('Nested Parallel Stage') { parallel { stage("Parallel Stage") { steps { script { def parallelTasks = [:] parallelTasks['Successful Task 1'] = { echo "Success" } parallelTasks['Failing Task'] = { sh "exit 1" } parallelTasks['Successful Task'] = { echo "Success" } parallel parallelTasks } } } stage("Stage") { steps { echo "Stage" } } } } } }
I expect that the parallel closure 'Failing Task' is marked red, all others should be marked green.
However, the result looks as follows:
- is related to
-
JENKINS-54010 Support the visualization of two levels of parallelity in stages
- In Progress