How to get the build log in MSBUILD

Some time I need use bat file to execute some command in MSBuild,
If these command meet some exception , it can't cause TeamCity stop ,
So , I want to Get the Teamcity BuildLog and auto check content if it contains some exception words..

3 comments
Comment actions Permalink

Hi

In TeamCity 7.0 we will add an ability to fail a buid based on specific strings in a build log
http://blogs.jetbrains.com/teamcity/2011/10/05/fail-build-on-specific-log-message/

Is it the feature you're looking for?

0
Comment actions Permalink

Great...That's it....

0
Comment actions Permalink

You can preview it right now in EAP build. Any feedback is very welcome!

0

Please sign in to leave a comment.