'Setup Azure DevOps Notifications for commits/changes to specific branch
I want to be notified by email each time new commits are made to the master branch on our project.
Found this and know to do what it says under the 'Add a custom subscription' heading...
However the example given is different to what i want, so I'm not sure what to put into the mandatory 'filter criteria' section to get an email each time a commit is pushed, by anyone, to a specific branch...could go by trial and error with the options that sound plausible but wondering, has anyone done this / what's the best way to do it?
Solution 1:[1]
I want to be notified by email each time new commits are made to the master branch on our project.
As is shown in your screenshot, A commit is pushed
subscription could meet your requirements.
In filter criteria, you could try to add the filter Branches updated contains master
For example:
In this case, when a commit is pushed to the master branch(Affect all repos), it will send notification emails.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Kevin Lu-MSFT |