TeamCity Cloud
 
Get TeamCity Cloud
You are viewing the documentation for an earlier version of TeamCity Cloud.

Service Messages

Edit page Last modified: 15 February 2024

Service messages are specially constructed pieces of text that pass commands/information about the build from the build script to the TeamCity server.

To be processed by TeamCity, they need to be written to the standard output stream of the build, that is printed or echoed from a build step.

Examples:

echo ##teamcity[<messageName> 'value']

A single service message cannot contain a newline character inside it, it cannot span across multiple lines.