<tc-addstatistic-fromprops>

Reports build statistic values to TeamCity, based on NAnt properties matching the specified prefix.

This task will only be executed within a TeamCity build.

Parameters

AttributeTypeDescriptionRequired
starting-withstring Adds TeamCity statistics values for all NAnt properties starting with this string. True
ignore-casebool Compare property names with a case insensitive comparison. The default value is true. 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
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