TeamCity Cloud 2023.11 Help

Notifications

The Notifications build feature is responsible for sending notifications about build statuses and events to external services. Currently, the feature provides Email Notifier and Slack Notifier.

This feature adds to the functionality of user-level notifications that can be assigned to a particular user or user group, but it allows configuring notifications per build configuration. This approach does not require referencing a specific TeamCity user and works better for group notifications.

Email Notifier

To configure email notifications for a build configuration:

  1. Enter a recipient email address. If you need to specify multiple addresses, enter each following address on a new line.

  2. Configure a branch filter. If it is not configured, you will receive notifications about the default branch only.

  3. Select events to watch.

Note that TeamCity Email Notifier relies on the SMTP server settings configured in Administration | Email Notifier.

Slack Notifier

The Slack Notifier feature relies on a Slack connection that should be preconfigured in the parent project's settings.

After configuring the connection, go to the settings of the build configuration you want to receive notifications for:

  1. In Build Features, add the Notifications feature and select Slack Notifier.

  2. Choose the created connection.

  3. Enter the ID of a channel or user who will be receiving notifications.

  4. Select the message format. Slack Notifier does not currently support custom notification templates. You can select the verbose format to choose what information to display in notifications, or utilize Service Messages to send completely custom strings.

  5. Configure a branch filter. If it is not configured, you will receive notifications about the default branch only.

  6. Select events to watch.

Last modified: 04 March 2024