Build Status - aegoroff/msbuildteamcitytasks GitHub Wiki
Setting build status
Introduction
TeamCity allows user to change the build status directly from the build script. You can also permanently change the build status text for your build
Details
Changes (sets) the status of a build
<BuildStatus
Status="SUCCESS"
Text="The app build succeed"
/>
Changes (sets) the status of a build full example (with all optional attributes)
<BuildStatus
IsAddTimestamp="true"
FlowId="1"
Status="SUCCESS"
Text="The app build succeed"
/>