<tc-statustext>

Adds a status message to the TeamCity build status element of teamcity-info.xml.

This task will only be executed within a TeamCity build.

Parameters

AttributeTypeDescriptionRequired
actionActionType Defines how the message should affect the current build status message. The default value is Append. If the action is Append or Prepend, a comma will be placed between the message and the current build status message. False
messagestring The message to add to the build status node. False
failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
forcebool If true then the task is forced to execute regardless of running in a TeamCity build. The default value is false. False
ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
teamcity-info-pathstring Allows you to override the path to the teamcity-info.xml file. By default, the path to the file is detected automatically. False
unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbosebool Determines whether the task should report detailed build log messages. The default is false. False

Examples

Requirements

Assembly: NAntExtensions.TeamCity (1.0.17.116)

See Also

Build Script Interaction with TeamCity