Two Build Agents Building the Same Project

I have 2 build agents setup on the build server.  I'm running into an issue where a project will be building on both agents.  For example, the build takes 30 minutes to build, some one does another commit durring that time, then another build starts on the other build agent.  Is there any way to prevent this?  I don't want to have to assign a project per agent as that would be a nightmare to maintain when you have a lot of projects.

~ Paul

1 comment
Comment actions Permalink

If you go to the Build Configuration > General Settings page at the bottom of the page is an option to limit the number of concurrent builds, if you set this to 1 the second build will be queued but wont run until the first completes.



Please sign in to leave a comment.