In the scenario where Stage 1 would checkout the source from git and restore nuget packages then build the application. In second stage multiple services and local nuget packages are being produced which is a time consuming process with one working Agent. So thought of running tasks in parallel which can only be accomplished by multiple agents, for that initially tried using artifacts but that increased the time lapse even more. The only reason to have same work directory(sandbox) is to share the existing result of previous stage in same machine.
On Thursday, 26 October 2017 04:04:50 UTC+1, David Rice wrote: > > Can I ask why you want to do that? Even if you got it to work, the agents > would be stepping all over each other. What are you trying to accomplish? > Maybe we can help you figur out a different approach. > > On Wed, Oct 25, 2017 at 5:22 PM Raghu Gattapur <[email protected] > <javascript:>> wrote: > >> Tried settings -Dagent.work.dir as suggested here >> https://github.com/gocd/gocd/pull/2754 but no success. >> >> -- >> 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] <javascript:>. >> 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.
