-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Blueocean-plugin 1.1.1
Jenkins 2.7.4
-
-
Blue Ocean 1.4 - beta 2
Hi all,
Recently, I have started to develop a few pipelines for my company. I´m tryinig to use a dynamic parallel step, but sometimes, the origin array/list can be only one element or empty.
The problem is when only the array contain one element, the blueocean plugin show the execution two times.
This is the normal view:
BlueOcean view:
And the code:
node { stage('test' ) { println('pre parallel step') } stage('parallel stage') { def array = ["a_1"] def builds = [:] array.each { test = it builds[it] = { node { stage (it) { println(it) sh 'date' } } } } parallel builds } stage('test2') { println('post parallel step') }
Thanks you very much!
- mentioned in
-
Page Loading...