Path of tfsbuild.exe

This tool use tfsbuild.exe for destroy build.

You can configure the path depend of the version of visual studio, in the file TFSBuildDestroyCleaner.exe.config

  <!-- for Visual Studio 2013-->
<add key="TfsBuildPath" value="C:\Program Files (x86)\Microsoft Visual Studio 12.0\"/>
<!-- for Visual Studio 2012-->
<!--add key="TfsBuildPath" value="C:\Program Files (x86)\Microsoft Visual Studio 11.0\"/-->

 

Options

In cmd windows command line or batch execute  TFSBuildDestroyCleaner.exe with parameters:

Required parameters :

-c : the tfs url collection, example : -c "http://tfsserver:8080/tfs/defaultcollection

-t : the name of the team project

-b : the name of the build definition, name or * for all builds definition

Examples :

  • for one build definition : -b "mybuild"
  • for all builds definitions in the team project : -b "*" 

Optional parameters :

-f : force the clean within the confirmation message

--help : view the help

Last edited Jan 16, 2015 at 7:56 AM by mikaelkrief, version 4