<tc-buildnumber>

Reports the build number to TeamCity.

This task will only be executed within a TeamCity build.

Parameters

AttributeTypeDescriptionRequired
build-numberstring The new build number. True
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
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