SerG
SerG

Reputation: 1340

Visual Studio 2015 hangs on multiple build deletion

Visual Studio 2015 hangs on attempt to delete a lot of builds at once through Build Explorer untill Team Foundation Server closes a connection.

Is there any working and fast way to delete more than 300 builds?

Some possibly significant info about installation:

Upvotes: 0

Views: 78

Answers (1)

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31093

Including deleting builds in VS, you can also:

  • delete builds in TFS Web Access.
  • Use Delete Command to delete buils.

Syntax:

TFSBuild delete /collection:teamProjectCollectionUrl /builddefinition:definitionSpec buildnumber[buildNumber...] [/deleteOptions:deleteOptions] [/noprompt] [/silent] [/preview]

If you don't need completed builds longer than a certain number of days, you can consider set retention policies. Your retention policies automatically delete old completed builds to minimize clutter. Check https://msdn.microsoft.com/en-us/library/vs/alm/build/define/retention

Upvotes: 1

Related Questions