We are using the new style TFS builds (Build vNext) to run our build orchestration. I am looking for a way to stop our builds if certain preconditions are not met. However, I can't find a way to stop the currently executing build without adding a variable and adding conditional logic in rest of the tasks. Is there a better way of stopping currently executing build? We are using TFS 2017 Update 2.