It's clear that there is no functionality that allows this, but I'd like to be able to stop a build from running if a new source control commit is detected.
For some background, our build server has an SVN trigger which detects new code commits. It then performs a .NET build and publish of the solution and then commits those updated DLLs to source control.
However, if, during that build I commit something else, the build will invariably fail because new changes have been made.
Ideally, I'd like the ability for the trigger to continue checking and stop the build if it's triggered. I would then wish to have the option of re-adding the build to the queue, thus updating the source, rebuilding/publishing and committing again.
Any guidance with this would be wonderful.
Many thanks, Dan