Hey Louis, You can't do that.
The agent picks up the job as a unit while executing the job's tasks. You can run a job on multiple agents but again, they execute the same set of tasks. Consider setting up your web server and workers on the first stage and executing of tests on another. You can also use environments <https://docs.go.cd/current/configuration/managing_environments.html> to group pipelines and agents to make sure that they run only on specific agents. On Fri, Jul 1, 2016 at 1:58 AM Louis Rose <[email protected]> wrote: > Hi there, > > I'm looking into the feasibility for using Go CD as our new build server. > > A few of our most rigorous automated acceptance tests require a > multi-machine environment (e.g., a web server box and a worker box > communicating over a message queue). Is it possible for a GoCD job to > acquire more than 1 agent? For example, could our "acceptance test" job > acquire a "web server" agent *and* a "worker" agent at the same time? > > Many thanks, > Louis. > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" 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. > -- You received this message because you are subscribed to the Google Groups "go-cd" 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.
