Elastic axis plugin allows you to define a job which runs on all slaves which match a certain label. I use it to run certain jobs on all slaves.
Mark Waite On Mon, Jul 4, 2016 at 5:14 PM Fred Clausen <[email protected]> wrote: > Hello, > > We have a artifact cache cleaning job that uses the multi-configuration's > "configuration matrix" to select slaves to run on (via the "slaves" axis). > Unfortunately we have to manually select slaves and if a new one is added > then remember to select that one as well; we'd like to automate this. I > thought about using the "node label" in the "slaves" axis but that ends up > only running on one of the nodes for the selected label. > > Can I pass a parameter list to the multi-configuration project and then > have it use that as an axis upon which it'll decide which slaves to run a > job on? (a job DSL job would construct that parameter). Or is there some > other mechanism by which to run a script on a given list of slaves? > > Thanks, > > Fred. > > -- > 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/f4433162-096c-426c-8c11-adad81d8c090%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/f4433162-096c-426c-8c11-adad81d8c090%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAO49JtHotudx0vS%2BaQ0tqkR7UoLd9wyRbSAqe%2BP3zM0OBoThJg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
