TFS 2015 alerts

125 Views Asked by At

I want to assign alerts for my team project as followed: 1. Every build that failed will trigger an email notification for the last developer that committed a change. In additional send the same email to the code reviewer.

I only found that a failed build will sent to all team members an email or to me and I cant change the "Sent To" field (its disabled and I'm administrator user)

  1. Another issue I encountered is that when a build failed the email I get states that there is 0 errors and 0 warnings. How Come?

It's supposed to be fairly easy to configure but didnt managed to get the email right. Can someone assist here?

This is the email I get, a failed build with 0 errors, when entering the build url I can see the where the build has failed but how can I know it from the email???

enter image description here

1

There are 1 best solutions below

5
PatrickLu-MSFT On

You can't change the "sent to" filed, however you can choose the name of the team member from the drop down list, or type the name in the search box.

  • Choose the name of the team member from the drop down list, or type the name in the search box.

enter image description here

For the people who trigger the build (which one need to be reviewed), he can specify the coder reviewer and add a build fail alert, add the filter request by = [Me]

enter image description here

As for question 2, there is 0 errors and 0 warnings.Which build are you using? vNext or xaml? And did you mean the build actually failed with errors but it's not reflected in the email.


Update

The errors and error message should be contained in the e-mail just as below picture. enter image description here