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

Subscribing to Notifications

Last modified: 20 April 2023

TeamCity provides a wide range of notification possibilities to keep developers informed about the status of their projects. Notifications can be sent by e-mail, Jabber/XMPP instant messages or can be displayed in the IDE (with the help of TeamCity plugins) or the Windows system tray (using TeamCity Windows Tray Notifier).

Subscribing to Email, Jabber, IDE, Windows Tray Notifications



TeamCity allows you to flexibly adjust the notification rules, so that you receive notifications only on the events that you are interested in. To subscribe to notifications:

  1. In the top right corner of the screen, click the arrow next to your username, and select My Settings & Tools from the drop-down list. Open the Notification Rules tab.

  2. Click the required notifications type:

    • Email Notifier: to be able to receive email notifications, your email address must be specified at the General area on the My Settings & Tools page.

      tip

      Note, that TeamCity comes with a default notification rule. It will send you an email notification if a build with your changes has failed. This rule starts working after you enter the email address.

    • IDE Notifier: to receive notifications right in your IDE, the required TeamCity plugin must be installed in your IDE. For the details on installing TeamCity IDE plugins, refer to Installing Tools.

    • Jabber Notifier: to receive notifications of this type, specify your Jabber account either on the Notification Rules | Jabber notifier page, or the My Settings & Tools page in the Watched Builds and Notifications area. Note that instead of Jabber you can specify your Google Talk account here if this option is configured by the System Administrator.

    • Windows Tray Notifier: to receive this type of notifications, Windows Tray Notifier must be installed.

  3. Click Add new rule and specify the rule in the dialog. The notification rules are comprised of two parts: Watch and NotificationConditions. See the details below.

What Will Be Watched



Which Events Will Trigger Notifications



Customizing RSS Feed Notifications



TeamCity allows obtaining information about the finished builds or about the builds with the changes of particular users via RSS. You can customize the RSS feed from the TeamCity Tools sidebar of My Settings & Tools page using the Syndication Feed section (click customize to open the FeedURLGenerator options) or from the home page of a build configuration. TeamCity produces a URL to the syndication feed on the basis of the values specified on the Feed URL Generator page.

Feed URL Generator Options



Additional Supported URL Parameters



In addition to the URL parameters available in the FeedURLGenerator, the following parameters are supported:

By default, the feed is generated as an Atom feed. Add &feedType=rss_0.93 to the feed URL to get the feed in RSS 0.93 format.

Example



Get builds from the TeamCity server located at "http://teamcity.server:8111" address, from the build configuration with ID "bt1", limit the builds to the those started with the last hour but no more then 200 items:

http://teamcity.server:8111/httpAuth/feed.html?buildTypeId=bt1&itemsType=builds&sinceDate=-60&itemsCount=200