TeamCity can detect messages on the standard error stream, you can see this as oranje messages in the build log:
Using the command line build step:
exit /b 0
The build passes even though the build failure condition 'an error message is logged by build runner' is checked. It seems this checkbox is only for TeamCity service messages with the status error.
I would like to fail a build if any std error stream messages are recording, to put it another way I would like to fail the build if any orange messages occur in the build log. Is there any way to do this? IMHO the checkbox mentioned above should perform this functionality.
We're using TeamCity Enterprise 8.0.6 (build 27767).