In Husdon/Jenkins, I can setup notifications when the build is broken to email the user(s) that made the checkins that broke the build. How do I do this in Teamcity?
I am aware that individual users can setup email notifications for themselves via the Teamcity interface (for when the build is broken), but I ONLY want emails sent to the users that broke the build, also I don't want the requirement that every individual user have to update their Teamcity settings.
A notification rule created that way works for all users. That's because the notification rule was created in the administration section within the group All Users, and not within one users personal notification settings. This works also in earlier versions of TeamCity, e.g. in 5.x.
The user still has the option to define additional rules if needed.
I realize this question is dated, and a lot of teams now use Slack. So for those of us that consider e-mail "so 2011", my team has been finding success with this nice Slack Plug-in notifier just for this purpose:
https://github.com/PeteGoo/tcSlackBuildNotifier
Simply upload the zip to the Team City plugins folder, restart the Team City server, and then configure the notifications from the Admin/Build config settings. Also, create a Slack webhook to use in the API Token field.
It can be configured to notify on a number of conditions, but we're only using the "Trigger when build fails" option currently.
At least with Teamcity 6.5 you have roles and groups, and you can set notifications settings based on them.
To achieve what you want, just take a look at the notification for group ALL (everybody) that is configured by default and you can't delete it.
http://yourteamcityinstall/admin/editGroup.html?groupCode=ALL_USERS_GROUP&tab=groupNotifications