Running one Build Configuration on a machine at one time
Long time reader, first time poster. I wasn't able to find a post about this anywhere so I thought I'd ask the community.
I have a machine with multiple agents and a special build configuration. The build configuration can run on any agent, but only one instance of that build configuration can/should run on the machine at one time.
Is there a way to setup the Build Configuration such that there's only instance of the build that runs on a machine at a time?
Please sign in to leave a comment.
TeamCity shouldn't be running multiple instances of the same build at the same time anyway, nor in a machine nor in multiple. New builds of the same configuration will wait for the previous one to be finished before starting. Is this not the behavior you are experiencing?
Even if you had multiple configurations, we have the shared resources feature to limit the amount of configurations that are allowed to use some resources, such as machines: https://confluence.jetbrains.com/display/TCD18/Shared+Resources