tcSlackBuildNotifier
tcSlackBuildNotifier copied to clipboard
Global notifications
Can we get a way to set up notifications globally? If I go to the Slack tab on the <Root Project>
, it's blank.
+1
Yep. Sounds like a good idea.
+1, would be very useful.
+1. We have over 20 projects so it rather tiresome to set notifications for all of them.
+1
+1
Is this request not satisfied by the page at http://teamcity.YOURTEAM.link/admin/admin.html?item=slackNotifications
?
@mr-fixit no, it's not. The admin page has Slack connection settings and notification features.
Project-specific config pages like http://teamcity.YOURTEAM.link/slacknotifications/index.html?projectId=YOURPROJECT
is where build events triggering notifications are configured. Those settings can be redefined for individual builds or subprojects, but it is not possible to configure them for Root project to be used as a template for all projects in TC instance.
Thanks, @sergiivolchkov. I'd forgotten trudging around the UI, creating SlackNotifications for every project. Eventually I created a script to ask TeamCity-API for every active project, then generated the URLs for the right page. Still painful, but less.
In a per-user configuration you can watch the root project and thus get global notifications for a user or group of users. However you can't specify a channel as a user name.
If it were possible for users to specify a channel as their user name, this might be another way to achieve global notifications to a channel?
I'd love to see global notifications as well. Additionally it would be good if I could set a filter on name. For instance I want to notify a specific channel whenever one of my deployment builds fails. They are all consistently named so easy to filter.