TFS Build and Alerts for Success / Failure - tfs

I'm using TFS 2008 and the TFS Build Service. I am able to perform builds, but I'm annoyed about receiving alerts for successful builds. I only want to receive a notification when a build does NOT succeed. Not sure why I can't find this setting, but maybe it is not offered. Does anybody know if this is possible or am I missing something?

The easiest way to configure this is to install the TFS Power Tools on your machine. This will add a more powerful alerts editor into Visual Studio. You can then edit the email alert that will already exist for you, or create another one, but filter it so that you will only get notified when the build status is failed.

Jason Prickett has a blog post on How to Filter the Build Completion Event that you should find helpful. His article targeted TFS 2005, but it should be equally applicable to TFS 2008. It's a more involved process than it ought to be, but it is possible.

Related

Configure TFS 2012 to Build All Solutions Under Directory

To prevent unexpected build breaks and test failures, We have been using gated check ins. This works very well for our core solutions, and has helped improve our quality.
As part of our overall architecture, we have a certain section of our code with many micro-services, each of which is a new solution. New solutions are added to this part of the code base regularly. These are important parts of the system, and I need to make sure they get compiled as part of a gated check in without the chance for developer error.
Is there a way to configure TFS to find ALL solutions under a certain path and include them in a gated check in build?
Thanks
Not without modifying the build process template, which is almost never a good idea. The new build system in TFS2015 does allow that, however.
TFS 2015 vNext builds allow wild cards to search for all solutions. I haven't had success getting this to work with Visual Studio build steps, which you would need, but it works well with NuGet Installer and other build steps. We will not see gated builds in vNext builds until we get update 2 see TFS feature timeline

Not enough permission to change Bug Workflow

I am using TFS Service (on the cloud solution) and I would like to customize the bug states.
There are many resources explaining how to do that using TFS Power Tools, so I downloaded and installed it.
I am able to open the workflow, but I am not able to change anything because I get the following error message:
Failed to save the 'Bug' Work Item Type to the server. TF237113: You
don't have enough permission to complete the import operation
I am using an administrator user.
Is it possible to make this change on Visual Studio Online?
While you are correct that it is not possible to customise the process template on Visual Studio Online you do have a few options:
Kanban Columns - If you want to you can customise the Kanban columns so that you have 'meta states' that you can use. I know that it is not the same but it could get you there.
Go offline - Currently and for a limited time you can take your VSO account on-premises. The TFS team are holding the version of VSO in parity with TFS 2013 Update 2 so that folks can do this. Be aware of what you loose though. No frequent updates and you have to host your own servers...
Not sure if these options help but they are options...
Making more research I found the answer: it is not possible:
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3654231-customize-process-template-on-visual-studio-online

TFS 2010 - How to associate a bug with a Build

I'm working in a project and I'm trying to optimize testing process so, when I execute a test case and I found a bug, I would like to associate this bug to the current build.
The builds are created automatically but when I try to select the built in the droplist there are not builds to select, so... How can I do it to get all the builds that I've made automatically?
Maybe is there any issue with Global List?
Im using VS 2010 and I have installed TFS 2010 Power Tools.
Thanks in advance!!
The global list is normally updated by an event subscription on the server that handles the BuildCompleted event. On your TFS server, there should be an executable named BisSubscribe.exe. You can use that to verify or fix the subscription. For more details, check out Jason Prickett's blog post on How to filter the Build Completion Event.

Is there a way to use a TFS2010 but that gets the code from a TFS2008?

at our company we are using a TFS 2008 server. We need some capabilities offered by TFS 2010 (like Lab Management) but currently we cannot change the server (we're a small part of a big company and doing that would make others to update their tools so it's not an option).
What I'm looking for is a way to install a TFS 2010 server that links somehow to the repository of the actual TFS server so when the 2010 MSBuild tries to build he takes sources from TFS2008.
Is this possible or do you think that could be another way of getting that to work?
Thanks for your assistance.
You can use the Integration platform to sync the sources and work items of TFS2008 with TFS2010.
See http://tfsintegration.codeplex.com/ for more information
You can also customize a build template so that it pulls in source code from anywhere.

How to find a TFS alert not set up by you

Someone has 'helpfully' set up a TFS 2008 Alert for a build on my behalf. I want to turn it off but no one will own up and I can't find it. Reading the docs suggests only the creator can see it. Is there anyway to find it?
There's a codeplex tool that I've used in the past to subscribe and unsubscribe outside of the UI:
http://tfseventsubscription.codeplex.com/
You could also do it through the commandline using the BisSubscribe.exe tool that is installed on the TFS server.

Resources