New answers tagged


I'm not really sure I understand your question, but you can execute arbitrary Groovy inside of a script block, so you can do just about anything within script. For example, here is my interpretation of what you are asking for: stage ('Execute jobs') { steps { node('node1') { script { parallel_jobs = [:] ...

Top 50 recent answers are included