I have two configurations, one triggers the other one, and I would like to limit the build request count by checking the running build count at the pre-queue script on the second configuration.
Throwing the QuickBuild exception at the pre-queue script of the second configuration works well
when the first configuration with the "Trigger Other Builds" step runs a build on the server.
The step fails and displays the proper message inserted into the QuickBuild exception.
However, if I run the same build on a buildagent to trigger the second configuration,
the step fails properly but the whole pre-queue script is displayed with a "Failed to evaluate script:" message.
Could you recommend how to hide the whole script or how to use the pre-queue script?