Hi there,
the question I am referring to is this one: http://stackoverflow.com/questions/20516617/can-you-queue-build-deploy-test-workflows-in-tfs-2010
"I have been using the Build-Deploy-Test build workflow for TFS 2010 (see herehttp://msdn.microsoft.com/en-us/vstudio/gg131922.aspx) and would just like to know if there is a way you can queue one or more of these to run on the same lab environment?
I have come up with a brittle but (mostly) working solution to this by modifying the Build Template. I set the 'environment in use' flag whenever the workflow starts, and any subsequent workflows loop and wait for the flag to be cleared.
My solution works most of the time, but occasionally I experience race conditions and both workflows try to start at the same time, one 'winning' and reverting the environment to a test-ready snapshot first.
As you can tell, this is a poor solution but a quick one! Is there a proper way to queue Build-Deploy-Test workflows on an environment?"
It is stated, that with TFS 2010 it's not possible to do it (other than by hand). But what about TFS 2012/2015? Is there anything new that one can use to queue such a workflow?
It's a problem, because we have several build-deploy-test-workflows using Continuous Integration as trigger. So everytime there are multiple checkins, every attempt to use the test environment will result in an error and the build will cancel.
Thanks for your help
Manuel