Just put a label on the agents and assign both the build and test jobs to that label and it should work just as you expect. Note that unless you use a matrix configuration, a job will only use one agent at a time, so you'd want to look into matrix jobs if you have several sets of tests you want to run against a single job configuration.
On Tue, Apr 30, 2013 at 12:51 PM, Hari Kodungallur <[email protected]>wrote: > Hello, > > I am a new Jenkins user. I am looking through tools that have a support > for the following functionality or similar. > > I want to configure a pool of agents that can either do builds or tests. > But when a particular type of test comes in, I would like to use all > available agents and kick off tests on them. > > Suppose I have 5 agents in the pool. They are just waiting for jobs -- > builds or tests. Let us say two of them get busy doing builds. And at this > time I kick off my test. It should detect that three of the agents are idle > and kick off tests on the three agents. At a later time, possibly all 5 > agents are idle and I want the test to be kicked off on all 5 of them. > > I am wondering if there a feature or a plugin in Jenkins that can > accomplish this task. > > Thank you much. > -Hari > > -- > 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/groups/opt_out. > > > -- 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/groups/opt_out.
