"Assigning" an agent to a build


As soon as a build gets into the build queue, we would like to peform a few time consuming actions and once done "assign" a build agent to the build i.e. let TeamCity know which build agent should the build run on. To do this, we will need to put this specific build on "hold" (without effecting any other builds of the same build configuration or other build configurations) while we perform the actions and then make sure that this specific build runs the specified build agent.

1. Are there methods that would allow me to put a specific build on "hold" ensuring that the status is reflected accurately within the TeamCity UI?

2. Are there methods that allow us to "assign" a build agent to a specific build?

3. Are there any API's available to change the agent properties?



Please sign in to leave a comment.