Error while running dynamically created parallel stages

18 views
Skip to first unread message

Markus "Shorty" Uckelmann

unread,
Aug 3, 2018, 10:23:26 AM8/3/18
to jenkins...@googlegroups.com
Hi all,

I dynamically create parallel stages from the contents of a file. The
"parallel" step run, ut the job still fails with a "mysterious" error.
The code and the error message can be found in the Gist
https://gist.github.com/bemeyert/2eeffa6f649b57ffc9f015c3a5942e31

Any help would be much appreciated since I'm running out of ideas.

Cheers, Shorty

Wouter Slob

unread,
Aug 16, 2018, 3:37:44 PM8/16/18
to Jenkins Users
Maybe you should not nest the stages? Maybe not use stage inside parallel step either, because the order might be different for each run.

Andreas Magnusson

unread,
Aug 17, 2018, 4:56:39 AM8/17/18
to Jenkins Users
I have a similar solution, but without the inner stage, just as Wouter suggest. And that works great. So try it without 
stage("Build parallel $target") {


Reply all
Reply to author
Forward
0 new messages