<tc-publishartifacts>

Publishes build artifacts while the build is still running.

This task will only be executed within a TeamCity build. Artifacts that are specified in the build configuration setting will be published as usual.

Parameters

AttributeTypeDescriptionRequired
pathstring The files matching the path will be visible as artifacts of the running build. 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