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 you will receive notifications only on the events that are interesting to you. 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, you should have your email address 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, you should have TeamCity plugin installed in your IDE. For the details on installing TeamCity IDE plugins, please 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 here your Google Talk account, if it is configured be System Administrator to be used.

    • Windows Tray Notifier: to receive this type of notifications you should have Windows Tray Notifier installed.

  3. For the selected notifications type, specify the notification rules, which are comprised of two parts: Watch and NotificationConditions - the events you want to be notified about. See the description below.

To Watch



Notification Conditions



Customizing RSS Feed Notifications



TeamCity allows to obtain information about the finished builds, or about the builds with the changes of particular users, via RSS feed. You can customize RSS feed from the TeamCity Tools sidebar of My Settings&Tools page (click customize to open FeedURLGenerator options), or from the home page of a build configuration. TeamCity produces a URL to the syndication feed on the base of the values, which you specify in the Feed URL Generator page.

Feed URL Generator Options



Supported Additional URL parameters



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

By default the feed is generated as 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 internal 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