Take a look at the NodeLabel Parameter plugin (https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin). This offers a way to start a job with a parameter that is a label and the job can run on all matching slaves.
On Tuesday, January 19, 2016 at 8:13:43 AM UTC-8, Julianus Pfeuffer wrote: > > Hello everybody, > > currently I am desperately looking for a way to create a Jenkins job that, > when launched, will be executed concurrently > on ALL slaves matching a label (or better a set of labels). > Usually (but not exclusively) my slaves will be cloud based. That means > they should be fired up automatically with the Docker plugin of Jenkins. > > I tried some different configurations (e.g. Elastic Axis Plugin, Matrix > plugin [and its label_expressions], Restricting job to certain slaves in > its configuration) but either it does not work at all or Jenkins will only > fire up the job on one slave (that matches the label) only. > > The method I am looking for should work on labels because I do not want to > click all the slaves that should be used for a certain job everytime my > configuration changes (i.e. via a slaves axis). > Has anyone found a way of doing what I envision? > > Your help is highly appreciated. > Regards, > Julianus > -- 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/941f9ecd-e86d-4a58-83a5-3942f90b6fcb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
