Stop build agents from running the same build at the same time

I feel almost silly for asking this, since it seems some basic, but I haven't found a good way to prevent this from happening. I have two build agents and our builds are set to trigger from changes in VCS (90s quiet time). How do I prevent the 2nd build agent from kicking off a build which is already started by the 1st build agent a few minutes earlier? I've looked at the different build triggers and couldn't find anything which would prevent this scenario?

Any thoughts?

PS. I'm using the latest 3.1 EAP (6692) if it matters.

2 comments

Hello,

If you need to run no more than one build at a time you can limit number of
running builds on general settings of build configuration.

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"Rafal Niedzialkowski" <rniedzial@us.ibm.com> wrote in message
news:31991299.1204302692467.JavaMail.itn@is.intellij.net...
>I feel almost silly for asking this, since it seems some basic, but I
>haven't found a good way to prevent this from happening. I have two build
>agents and our builds are set to trigger from changes in VCS (90s quiet
>time). How do I prevent the 2nd build agent from kicking off a build which
>is already started by the 1st build agent a few minutes earlier? I've
>looked at the different build triggers and couldn't find anything which
>would prevent this scenario?
>

Any thoughts?

>

PS. I'm using the latest 3.1 EAP (6692) if it matters.



0

Thank you! I totally missed that setting in the "General Settings" for the project. Since its sort of related to build triggering, might it not make sense to include that in the Build Triggers section? This is where I kept looking and assumed this sort of thing would be.

0

Please sign in to leave a comment.