← Back to overview
April 12, 2010 · MSBuild Team City

TeamCity build log and build status using MSBuild

By default TeamCity’s build log only shows important messages.
And the status of the build is ‘Running…’ until it’s done or failed.

If you want to display more information during your build you have several options using your MSBuild scripts:

Writing to the build log

This can be done using the following task:

<Message Importance="high" Text="##teamcity[message text='Obfuscating...' status='WARNING']" />  


Updating build status

This can be done using the following task:

<Message Importance="high" Text="##teamcity[progressMessage 'Obfuscating...']" />  


And for those that don’t know TeamCity, visit: http://www.jetbrains.com/teamcity/buy/index.jsp

To quote:

TeamCity is a continuous integration and build management system. With TeamCity, you can set up a build server within minutes and enjoy out of the box continuous unit testing, code quality analysis, and early reporting on build problems — even without leaving your favorite IDE. TeamCity offers a gentle learning curve, so you can quickly improve your release management practices by gradually adopting its advanced features and capabilities.

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket
Comments powered by Disqus