Clear build queue in TFS 2015 - tfs

I've got a large number of queued builds in TFS 2015 (14.95.25122.0) which I don't wish to run. Is there a way to remove them all with a single command (and preferably from the TFS web interface) or will I have to open each build and cancel them one by one?

You can multi-select the rows in the Web Access and Right Click and Cancel:

Related

Run a Script after a Backlog Transition in TFS 2018

I am working with TFS 2018.
I have a project in which I have some backlog Items. In my board I have the states: Proposed, Active, Resolved and closed.
I want to be able to run a script after an Item moves from the Active State to Resolved state.
Can you help me with this? How can I achieve that?
PS: I'd like to create new branches automatically and build pipelines and Also move a work Item to a given state and delete that branch afterwards? This is what I am looking for.
TFS does not support any internal triggers or automation script. But you may write your own based on Web Hooks. There is additional server plugins like TFS Aggregator.

TFS 2010 Controller integration to TFS 2015

We have migrated TFS2010 to TFS2015sp3 and we would like to use the existing TFS2010 build controller & agents (XAML) with TFS2015.
As a sample test, we did a clone of the existing TFS2010 controller and on the new machine we pointed the Project collections to the new TFS2015 URL.
I see the build controller and Agents in running state, but when I queue the build it keeps on waiting for build agent, even though the agents are online.
TFS 2015 still support XAML Builds as long as you use TFS2010/TFS2013 XAML Build controller.
Please make sure your build control version are the same as build agent version. So if you are using TFS2010 build control, you should also using TFS2010 build agent.
You could also create a new build control TFS2015 and build agent 2015, test if the build works properly.
Even though the build agent and control is online, you should also double confirm you have selected the right one in the drop list when you queue the build.
Besides, please also verify that your controller has "Maximum number of concurrently running builds" set to a number higher than 0. The default to number of agents can sometimes go wrong.
You set this on the controller properties in the TFS admin console.
You can also try remove the agent from the controller and add it again.

Proper way to uninstall the legacy TFS build service

The legacy TFS build service, the one that sits in the service list as "Visual Studio Team Foundation Build Service Host 2015" and does XAML builds. What's the proper way to uninstall it?
When I go to TFS Admin Console and click Unregister, the service is stopped, but remains in the system.
I can get rid of it with sc delete, but that's crude.
I don't see anything relevant underneath Control Panel/Uninstall.
If it's a stand-alone build server, uninstall TFS entirely and if the service is still there, manually remove it. It doesn't really matter one way or the other, honestly.
If it's a combo app tier/build server, just leave it alone.

TFS 2013: Remove obsolete build controllers/agents not visible in admin

We have upgraded our TFS from 2010 to 2013, and the same time moved the TFS and databases to new servers, with new names.
One of the very few annoying effects (Probably due to moving the TFS to a server with a new name) is that the build controller/agent from the old server is still visible in lists of available build controllers/agents, but is not visible in the admin gui for build configurations and therefore not possible to remove.
Does anyone have had the same experience and furthermore have a solution of how to remove the traces of old (and not used/wanted) build controllers/agents?
Kind regards,
J
Ok.
Sorry, I found the solution myself now after continue searching and yet again scanning through the microsofts documentation! :)
It's possible to disable and delete controllers and agents through the Manage Build Controllers in Visual Studio.
Also described here: http://msdn.microsoft.com/en-us/library/ee330987.aspx
Just make sure there is no builds in progress, but that's ofcourse also possible to handle through Manage Queues in Visual Studio.

Siren of shame build monitor, unable to connect to TFS 2008 or TFS 2012

I'm trying to set up the siren of shame build monitor, but for some reason can't connect to my TFS.
TFS itself is running on port 8080, and TFSBuild on 9192 - but putting http://build-server:8080 or trying other ports does not work...
(Update 1) I've downloaded the source, and also looked using Wireshark into what is happening when it tries to authenticate. I'm confused, as the code is using standard .net Libraries for TFS - Microsoft.TeamFoundation.dll (v2.0.50727). It seems to be looking for web services that do not exist if I look in IIS on the server - namely POST /TeamFoundation/Administration/v3.0/LocationService.asmx
Is it the case that this is not compatible with TFS 2008 at all, and only TFS 2010 will work?
I downloaded the "Siren of Shame" to have a look.
To connect you need to enter the URL for TFS in the following format
http://tfs-Application-Server:8080/tfs
Note that it attaches to the TFS server not the build server (or build controller).
However having connected to TFS it looks like a pain to configure. It correctly detected all of the Team Project Collections that I have in TFS but when I selected one of the collections it wasn't showing any running builds. So I tried selecting a single Team Project, once again no builds were displayed. Finally I selected a build that I knew was running, only then did it show up in Siren of Shame.
I have thousands of builds and I don't want to have to select each one individually to be able to monitor it. At the very least I want to be able to select a team project and monitor all of the builds in that project with one click
There are a number of alternatives out there. But none of them are great
http://teambuildscreen.codeplex.com/
http://buildmonitor.codeplex.com/
http://tfsbuildinspector.codeplex.com/

Resources