imsan
imsan

Reputation: 469

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?

Upvotes: 5

Views: 4019

Answers (1)

Kevin Lu-MSFT
Kevin Lu-MSFT

Reputation: 35514

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:

enter image description here

In this case, when a commit is pushed to the master branch(Affect all repos), it will send notification emails.

Upvotes: 4

Related Questions