Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Notifications can also be received via Atom/RSS syndication feeds, but since feed use "pull" model for receiving notifications instead of "push", some of the approaches are different for the feeds.

Wiki Markup
{hidden-data

...

}
This does not relates to customizing notifications\!

h2. Supported Notifiers

|| Notifier || Description ||
| *Email Notifier* \\ | Notifications regarding specified events are sent via email. \\ |
| *IDE Notifier* \\ | The status of the specified build configurations and/or the status of the user changes are displayed in the user's IDE. Requires corresponding TeamCity plugin: IntelliJ Platform plugin, Addin for Visual Studio or Eclipse Plugin; which can be downloaded from the *My Settings&Tools* page. Refer to the [Installing Tools] section. \\ |
| *Jabber Notifier* \\ | Notifications regarding specified events are sent via Jabber. \\ |
| *System Tray Notifier* \\ | The status of the build configurations is displayed in the Windows system tray, notifications on the specified events are displayed via popups. |
| *Atom/RSS Feed Notifier* | Notifications regarding specified events are sent via an Atom/RSS feed. This notifier differs from the rest, please refer to the [corresponding section|#SyndicationFeed]. |
{hidden-data}

Notifications Lifecycle

TeamCity supports a set of events that can generate user notifications (such as build failure, investigation state changes, etc). On event occurrence, for each notificator type, TeamCity processes notification settings for all the users to define users that the notification should be sent to.

...

TeamCity notificators use templates to evaluate output values (global template variables) which are then retrieved by name. The following output values are supported:

Email Notificator

  • subject - subject of the email message to send
  • body - plain text of the email message to send
  • bodyHtml - (optional) HTML text of the email message to send. It will be included together with plain text part of the message
  • headers - (optional) Raw list of additional headers to include into email. One header per line. For example:
    Code Block
    
    <#global headers>
      X-Priority: 1 (Highest)
      Importance: High
    </#global>
    

Jabber

  • message - plain text of the message to send

IDE Notifications and Windows Tray Notifications

  • message - plain text of the message to send
  • link - URL of the TeamCity page that contains detailed information about the event

The Atom/RSS feeds template differs from the others. For the details, please refer to the dedicated section.

For the template evaluation TeamCity provides the default data model that can be used inside the template. The objects exposed in the model are instances of the corresponding classes from TeamCity server-side open API.
The set of available objects model differs for different events.
You can also add your own objects into the model via plugin. See Extending Notification Templates Model for details.

...

See the defualt template for an example of available input variables and output variables.



See also:

Panel
bgColor#FFFFFF
borderStyledashed

User's Guide: Subscribing to Notifications