I'd like to halt remaining build steps at a step.
Both official document and so answer guide to do as below;
echo "##teamcity[buildStatus status='SUCCESS' text='Automation disabled']"
But to make halt builds at the step, I think I should put exit 1
at the end. But this exit code gives red Failed result due to the Failure Condition; 'one of build steps exited with an error (e.g non-zero exit code)'
My trial is as below;
echo "##teamcity[buildStatus status='SUCCESS' text='Automation disabled']"
exit 1
how to make it show the green success result?
The document says 'You can also change the build status of a failing build to success' but not working as expected.
Both version 2017.2.3 and 2018.1.4 tested.