I am forwarding a question from StackOverflow <http://stackoverflow.com/questions/37248513/is-there-an-easy-way-to-run-parallel-pipeline-job-on-nodes-of-the-same-label> in hope of getting a simpler implementation for this use-case:
Here I have some jobs that are required to run on multiple nodes. If I'm > not using Pipeline, I can do with ParameterFactory from the NodeLabel > Parameter Plugin > <https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin#NodeLabelParameterPlugin-BuildParameterFactory> > and > let the job run on all nodes matching a label. With Pipeline however, all I > can find is the trigger-job-on-all-nodes > <https://github.com/jenkinsci/pipeline-examples/tree/master/pipeline-examples/trigger-job-on-all-nodes> > example. > With a few modifications it should do the job, but it is still a lot of > code. I'm dreaming about things like: > node(label='slave', run_on_all_matching_nodes=true) { > // some block > } > Is this even possible? Thanks, Michael -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1bf4b16f-d529-48c8-b059-4d190da1a416%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
