How teamcity choose which build agent to run the build?

Currently, I have several build agent(one default on the server machine, others installed as service on different machines).
There is no agent requirement for any of the projects.
When running these projects, what is the default mechanism of teamcity to choose which build agent to run each projects?
I found for some projects, they are running on Agent A, while others on Agent B.

Thanks.

2 comments

TeamCity tries to choose the fastest agent based on builds history of a build configuration on this agent. Also since available build runners depend on environment where agent is running TeamCity chooses an agent having required build runner.

--
Pavel Sher

0

I see. Thanks for your quick response.

0

Please sign in to leave a comment.