I've found the elastic axis plugin very helpful to allow me to define multi-configuration jobs which use all available nodes that satisfy a particular label definition. The implied labels plugin has also been very helpful to keep the job definitions simpler by allowing a label to be inferred from the values of other labels.
That simplifies the configuration and maintenance of jobs so that the jobs can use as many slaves of a particular type as are available. I use it (as an example) to test the git-client-plugin on as many machines as I have available at the moment, without requiring that I change the job definition as slaves are added and removed Unfortunately, neither of those provide you with "exactly N simultaneous slaves". I don't have any good ideas for ways that slaves can be notified on one another and their roles. In a previous job, we had a small Python program that we used as a central registry of servers and the services which they provide. Mark Waite On Sun, Jul 27, 2014 at 8:12 AM, Adam Seering <[email protected]> wrote: > Hi all, > I'm trying to write tests that use network and cluster software. > There are lots of tests that I can perform on a single physical slave > (loopback interface and all), but a serious end-to-end test really needs > multiple physical machines. > > Is there any way in Jenkins to define a single test that must have > exactly N simultaneous slaves (for whatever N I happen to need)? And to > somehow tell the slaves about each other, so that they can connect to each > other as part of the test, etc. I can come up with hacks for this, but not > a clean/robust solution. > > Thanks, > Adam > > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- 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]. For more options, visit https://groups.google.com/d/optout.
