-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.107.1
I'm using a mostly declarative pipeline. In one of the stages, I have to dynamically spawn parallel stages based on the result of a command:
def getParallelStageMap(partitions) { //...implementation of helper function } pipeline { stages { stage('example') { steps { script { partitionsString = sh(returnStdout: true, script: '...') partitions = partitionsString.trim().split('\n') parallel getParallelStageMap(partitions) partitions.each { partition -> unstash "stash_${partition}" } } // do some more stuff with the unstashed files } post { // some post steps } } } }
This setup works fine, but BlueOcean doesn't show any of the steps after "parallel" (including the post steps) when you click on the "example" stage. They only appear in the log in the classic UI.
Hi mb_o. I believe this is a duplicate of the
JENKINS-35836