Is it possible to set up a build chain to run parallel and on the same agent

Basically I want to run an init to get a common build counter ID

Then on three separate agents I want to run a dependency build config followed by a compile build config

Then after all three compile steps are done, I would like to package

Currently I have this setup as a snapshot dependency on init and a snapshot dependency on "Get Deps" with run on same agent checked.

The problem is that all build configs that should be parallel run serially on the same agent.

So it will init on some agent and then run Get Deps -> Compile -> Get Deps -> Compile -> Get Deps -> Compile -> Package serially.

Is there a way to run this in parallel?

2
1 comment

Hi William,

to run builds in parallel you need multiple agents (which can be on the same machine). The graph looks ok if that's how the dependencies are set up (package depends on all compiles, all compiles depend on get deps, which depend on init). More information here: https://confluence.jetbrains.com/display/TCD10/Setting+up+and+Running+Additional+Build+Agents#SettingupandRunningAdditionalBuildAgents-InstallingSeveralBuildAgentsontheSameMachine

0

Please sign in to leave a comment.