Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get TFS Build Status notifications?

People also ask

How do I set up alerts in TFS?

Open TFS Administration Console, select Application Tier and click “Alert Settings”. Provide the SMTP detail; for the purpose of the demo, we have used Gmail. Enter the Gmail email id from which the email has to be triggered and username textboxes and password in the password box and click “OK”.

How do I enable email notifications in TFS?

Open the Team Foundation Administration Console from the Start menu. Or, at a command prompt, type TFSMgmt.exe (located in Drive:\%programfiles%\Microsoft Team Foundation Server 12.0\Tools). Open email alert settings. Enable email alerts and specify the SMTP Server and the email address to use for sending emails.

How will you get notified when changes are made to the pull request Azure Devops?

You can subscribe to email alerts to be notified of changes in pull requests (PRs). By default, you're subscribed to several common PR notifications. For a complete list of default subscription notifications, see Out-of-the-box (OOB) or default subscriptions.


You can run Build Notifications, which is similar to CC Tray in that it will continually give you the status of all builds that you're interested in following. To launch the tool, go to...

All Programs-->Microsoft Visual Studio 2010-->Team Foundation Server Tools-->Build Notifications

Click on the Options button to subscribe to whichever builds are on your server. This will now show up in your system tray with a green check box or red X to indicate the status of the builds you've selected.


In Visual Studio 2013 with TFS 2013, you have email alerts from TFS and a Build Notification system tray tool: http://msdn.microsoft.com/en-us/library/ms181725.aspx

However, it usually doesn't show up in the Windows 8 Start screen, even with a search. So, run it manually in most installations from here:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\BuildNotificationApp.exe


The TFS API is mostly documented on MSDN under the Visual Studio SDK: http://msdn.microsoft.com/library/bb130146, however the build APIs are in a different location (in the TFS documentation): http://msdn.microsoft.com/library/cc339575.

These are the same assemblies that tf.exe and Team Explorer (etc.) use.


If you just want the alert (not programmatically): You can right-click on the project in the Team Explorer and select Project Alerts.


You can use AnyStatus to monitor both XAML and vNext builds and lots of other monitors such as Windows Services, HTTP, TCP/IP, Ping, GitHub, Other CI/CD tools, Performance Counters and more.

Disclaimer: I am the author of AnyStatus