I'm pretty sure that the gocd model doesn't allow for that kinda of configuration. The only thing that is guaranteed to run with the same agent are tasks.
On Wednesday, May 10, 2017 at 12:20:28 AM UTC-5, Naash wrote: > > Hi all, > > I am using your product and it is smooth. Thanks for a great product. I > need a little guidance in the following: > > I have many pipelines and many agents. For a given pipelines, there are > multiple agents which can run its jobs and they are identified by setting > the proper "resource" tag in job settings and also tagging the agents with > the same resource-tag. > > What I want is that for a given pipeline once an agent is picked for the > first stage, all subsequent stages should use the same agent. > > In other words, suppose agents A and B are both tagged with "resource-tag" > R and the pipeline P has two stages S1 and S2 with jobs that are configured > to use the resource R. In this scenario it is possible that S1 runs on A > and S2 on B. What I woould like to configure is that S1 picks agent A or B > depending on availabilty and S2 will then use the same agent that S1 picked. > > It might be trivial, but I have not been able to configure this. Any > guidance or tip will be hugely appreciated. > > Thanks and regards > -- 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.
