jmatos edited this page Sep 14, 2010 · 1 revision
Clone this wiki locally

TeamCity is a popular continuous integration server written in Java.

A build script can add information that will be displayed by TeamCity by writing information to the console.

See this link for details about adding information to the TC build output.

Once the teamcity.psm1 module is loaded (type “help about_modules” in PowerShell) you can then call the functions to add information to the TeamCity build.

Task default -depends Test 

Task Test { 
   TeamCity-TestSuiteStarted "Started a test suite"

   # Run unit tests

   TeamCity-TestSuiteFinished "Finished a test suite"