I'm writing a Build Runner Plugin, i.e. the type of plugin described here: http://confluence.jetbrains.net/display/TCD7/Build+Runner+Plugin
I need a way to force the build option "Limit the number of simultaneously running builds" to be 1. This is because the Build Runner Plugin uses a resource on the network, such that if two builds run concurrently they will interfere with each other, therefore I need to stop this happening.
What's the best way to do this?
Thanks in advance!