Trigger a build on agents belong to multiple pools

Answered

how can we trigger a build to run on cross platform agents where we have a predefined pool for each platform.
e.g: the build should be triggered on one "Linux" agent from Linux pool in parallel to another run on one windows agent from Windows pool

Thanks

1 comment

Hello Shani,

The recommended approach is to split build configuration for two build configurations: Linux and Windows. You can use templates to simplify the setup. The only difference of these two build configurations will be agent requirements. 

In this case if build fails on Windows the status of Win build configuration will be constantly red.

Also agent pools are used to associate set of agents with project. So there is no need to split agents by OS. You can use agent requirements to specify whether a build configuration can run on a particular build agent.

0

Please sign in to leave a comment.