An email user who has broken the build in Teamcity

In Husdon / Jenkins, I can set up alerts when the assembly is broken to send email to users (users) who have made checks that break the assembly. How to do it in Teamcity?

I know that individual users can set up email alerts for themselves through the Teamcity interface (when the assembly is broken), but I ONLY want emails to be sent to users who break the assembly, also I do not want this requirement that each individual user needs to update your Teamcity settings.

+44
teamcity
May 30 '11 at 21:10
source share
3 answers
  • Open TeamCity in your browser.
  • Find Administration > Users and Groups > Groups
  • Click the group name All Users
  • Select the Notification Rules tab (you see the default email notification rules)
  • Click Add New Rule
  • select the Build me change option in the Clock column
  • select in the column Send notification with the checkbox build and Ignore errors not caused by my changes
  • Save this new notification rule using the klick button on the Save button.

The notification rule created in this way works for all users. This is because a notification rule was created in the administration section in the All Users group, and not within the same user user notification. This also works in earlier versions of TeamCity, for example. at 5.x.

The user is still able to define additional rules, if necessary.

+75
Jun 07 2018-11-11T00:
source share

At least with Teamcity 6.5, you have roles and groups, and you can configure notification settings based on them.

To achieve what you want, just look at the notification for the ALL group, which is configured by default, and you cannot delete it.

http: //yourteamcityinstall/admin/editGroup.html? groupCode = ALL_USERS_GROUP & tab = groupNotifications

+1
May 30 '11 at 21:31
source share

I understand this question is out of date, and many teams now use Slack. Thus, for those of us who consider email to be β€œthis way 2011,” my team succeeded in this wonderful Slack Plug-in notification just for this purpose:

https://github.com/PeteGoo/tcSlackBuildNotifier

Just upload the zip to the Team City plugins folder, restart the Team City server and configure notifications from the Admin / Build configuration settings. In addition, create a Slack web host for use in the Token API field.

It can be configured for notification in a number of conditions, but currently we use the option "Trigger when build failed".

+1
Jun 23 '17 at 6:20
source share



All Articles