I have created a couple of batch files to aid in the automation process of my deployments. They work great, but I want to be able to have the file bomb out if a problem is found, obviously reporting the problem.
I am planning on integrating the scripts into a TeamCity build, so if one of the scripts fails I need to stop the deployment process.
One easy way is to make the script running a manual process, but that defeats the objective.
Any advice would be great.
Thanks,