We are just integrating Visual Studio Team Services as our new workflow and setting up automated builds on commits to master. Currently the individual who commits to master and instigates a new build will get a notification email when the build fails or succeeds.
We thought we would all get a notification but it does not appear that way. We have looked at notification settings in VSTS but have so far not found any setting that would allow all of us to be notified on build completion. Is there a setting we are missing or is this a feature that is not currently supported?
Notifications
The VSTS Build Succeeded notification can be customized to report only on certain statuses using the Filter Criteria options, by creating the subscription for a team or group the notification will be sent to all members of the group:
If you need more advanced filters, consider routing your notification to an alternate email address and point that to IFTTT or Microsoft Flow. Or using the Build notification step in Microsoft Flow directly.
Visual Studio CD tools
The VSTS CD Tools integrate build notification directly into Visual Studio. This results in a toast notification whenever you have Visual Studio open:
Catlight
Another great tool to get build notifications is Catlight, it runs from the task tray and will even notify you when Visual studio isn't open:
Siren of Shame
And a 4th option is Siren of Shame, which also offers integration with a USB emergency light that will start blinking when the build fails:
AnyStatus
AnyStatus is a notification tool that comes as a Visual Studio add-in, or stand-alone tray icon (desktop app) that will notify upon status of build changes.
It has support for many Continuous Integration systems, including TFS vNext.
Here's is the configuration screen for adding a new project:
Here is the status screen, which appears when clicking the tray icon:
Here is the tray icon (immediately after triggering a build):
The tray icon shows a tick when all builds are OK, and a red X when at least one has failed. It shows a 'play' icon when at least one build is in progress.
Maybe node-build-monitor could be interesting for you. We use it for our teams on a dedicated screen. But you can open it in a browser tab and enable desktop notifications, too.
It's open source with a lots of contributers and support for many services.
https://marcells.github.io/node-build-monitor
If anyone is getting the dreaded "An error occurred while sending the request." with Catlight, try running it as administrator. Fixed it for us.
Related
I tried to add Microsoft Identity platform to a MVC project in Visual Studio 2019, on Connected Services page, I clicked on Configure next to Microsoft identity platform, then followed the steps:
chose my Azure tenant (b2c)(I am a admin)
chose / create an new app registration
on summary of changes, it said : project changes for dependencies being added or configured:
click finished, the Dependency configuration progress windows showed nothing and stayed open even checked "Automatically close when succeeded",
after sometime, nothing happened, then I canceled it and returned back to Connected Service page, the Microsoft identity platform still show "Configure" icon, not configured like other option (secrets.json(local) which configured in few seconds)
I have tried different projects types, also tried to download a sample project, still the same, am I missing any updates/components/libraries? please advice, thank you very much
I was stuck here too. Tried again and clicked "Finish" instead of Next and it worked.
Are there other ways to receive alerts from TFS, besides e-mails? I would rather keep my e-mail inbox clean, and have some kind of notification icon or banner, like here on StackOverflow when you have new messages.
EDIT: In my case, it would be useful to know when changes have been pushed to trunk, so that I can keep my code synched and avoid big merges.
Except emails you could also use some 3-rd party tool/extension to get the notification from TFS/Azure DevOps.
However as a limitation, most of them mainly only support the notification of CI build/release/work item area.
For example:
Continuous Delivery Tools for Visual Studio
The Continuous Delivery Tools for Visual Studio integrate build
notification directly into Visual Studio. This results in a toast
notification whenever you have Visual Studio open:
Catlight
Another great tool to get build notifications is Catlight, it
runs from the task tray and will even notify you when Visual studio
isn't open:
Siren of Shame
And another option is Siren of Shame, which also offers
integration with a USB emergency light that will start blinking when
the build fails:
More details please take a look at jessehouwing and CJBS 's reply in this question:
Notifications for successful automated builds to each team member
I know I can set up continuous integration - and that makes builds happen seamlessly. However this isn't appropriate for all our projects.
So for those, I can right-click the build and select queue new build and wait for the popup and queue it.
However, I never have to change those options. And this is about more than saving a click. More than once I've right-clicked and selected Queue build, left my desk before it appears (sometimes it takes 5-8 sec), meaning to meet with a co-worker or take lunch break prior to a large build.
Then I return to my desk and unlock my PC only to be greeted by the 'queue build' popup. Then I have to wait for it to build.
Usually I remember ... but the times I get burned are bitter indeed!
It's not able to suppress the options pop up when you queue the build either in visual-studio or web. For vNext build, it will also open a web portal.
As a workaround, you could try to use TFS API or Rest API to trigger the build instead of manually through Visual Studio. Please follow below tutorials:
For vNext Build:
How to trigger a build in TFS 2015 using REST API
For XAML Build: TFS API Queue a New Build with Custom Parameters
Besides you could also add a use voice here , TFS PM and Admin will kindly review your suggestion.
We have TFS2012 and if i check into a branch with CI enabled a gated dialog will appear asking to build (when using both vs2012 and vs2013).
However unlike in vs2012, vs2013 doesn't seem to get a callback to tell it if the checkin was successful.
The Team explorer checkin still shows the details of the checkin (description, associated TFS items) and no dialog pops up to show it was successful like in 2012. Am I missing a configuration step?
I suggest you to configure this in your Web Portal of project, you access Alerts Section and adjust this by creating New Alert based on your check in.
Check your Administration Console TFS if it's not resolved, in order to configure your notification server.
I've recently moved to a new computer and I am no longer able to see any of my alerts that I setup in Visual Studio 2010 and Alerts Explorer. However, I'm still receiving the alert emails when the events fire. I am using the same domain login and I have the same permissions (administrative permissions so that shouldn't be a problem). I have VS Power Tools installed (version 3.3.40818.0). I have the latest services packs & hot fixes installed for VS and TFS.
When I open the Alerts Explorer, I can only see one system event under the Build Alerts that I can't delete. I want to clean up the "spam" I'm receiving but I can't delete the alerts because I can't see it.
Without me having to go into the TFS database and fiddling around with tables and records I don't know much about - how do I get my alerts back in my Alerts Explorer? My old machine is not available anymore.
You can use the BisSubscribe tool (available on the TFS server) to unregister unwanted alerts, but unfortunately you'll need to search the database for the IDs of the alerts you want to remove. This post should give you directions: http://social.msdn.microsoft.com/Forums/pl-PL/tfsadmin/thread/01e7d1e2-2f5c-415f-81f3-a28e86be0c93.