This project is read-only.

Project Description

This command line tool destroy completely all deleted build , she was deleted by:

  • TFS build retention
  • Manually

Raison for use

For clean TFS data : the build information's takes lot of data in the tfs database

Requirement:

Visual studio 2013 or Visual studio 2012, view tab documentation for configuration 

How use it

 

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

Examples

TFSBuildDestroyCleaner.exe -c "http://tfsserver:8080/tfs/defaultcollection -t "MyteamProject"  -b "Mybuild"

TFSBuildDestroyCleaner.exe -c "http://tfsserver:8080/tfs/defaultcollection -t "MyteamProject"  -b "*"

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