We have 50 repositories currently set up with CircleCI and the number is steadily increasing. All of them run at least once every 24 hours.
We want Slack notifications on
Failure and on
Fixed on the
master branch only.
When setting up Slack notifications, the least “noisy” option available is
Fixed/Failed Only. However, this also notifies on “first commit” and across all branches, and every new branch gets a “first commit”. For us, that essentially makes the feature useless.
Current available solution
Currently this can be achieved using the experimental setting used here:
However, implementing this will have several downsides:
- Only one setting will be available for each repo
- It adds boilerplate code to the repo
- We will have to make the same code change to all 50 repos + future repos.
- When it is no longer considered experimental, we will need to change it again
Make the per-branch-notification option available when setting up the slack notification.
This way individual users can listen to their own branches if they want, and the team-wide Slack notifications only show builds for
Make it possible to set up Slack notifications for multiple projects simultaneously. Possibly through an automated call to the API. My wrist will be forever in your debt.