Team
System

Visual Studio Team System: tips, tricks, and
techniques

Search

Go

Most Recent Items

Moving
your Team Foundation Server

A
Visual Guide to Backing Up a Team Foundation Server database

Team
System and Sarbanes-Oxley compliance

Team
Explorer now available for free download!

Why
doesn't check out also get latest?

Links

Let us help you
implement Team System!

FAQ: Team Foundation
Server

FAQ:
Team System Developer Center

Archives

June
2006 (1)

May
2006 (7)

April
2006 (6)

March
2006 (11)

February
2006 (18)

January
2006 (19)

My Links

RSS 2.0

Atom 0.3

Navigation

Blogs

Deleting Team Build Types and Team Builds

In the process of my Team System testing, I ended up with a bunch of
unnecessary team build types (and corresponding builds for each type) in the
Team Explorer for our Demo project. Unfortunately, there's no obvious way to
delete these! I found this
forum thread which describes how to remove both.

First, map the TeamBuildTypes folder into your workspace. You can
access your workspace via the File, Source Control, Workspaces menu:

Once you've mapped the folder, bring up the source control explorer, expand
the new folder, and start deleting the folders that correspond to each build
type:

Commit your delete and you'll remove the build types. But what about the
builds themselves? Unfortunately, you'll have to delete each individual build
manually via the tfsbuild command line tool:

C:\>tfsbuild delete http://teamsystem:8080/ demo test3_20060127.1
Microsoft (R) TfsBuild Version 8.0.0.0
for Microsoft (R) Visual Studio 2005 Team System
(C) Copyright 2006 Microsoft Corporation. All rights reserved.

All data including test results and the build for test3_20060127.1 will be permanently
deleted. Do you want to continue (Y/N)?y
Deleting test3_20060127.1... Done
TF42047: The build data was deleted. The drop location
\\wumpus\public\test3_20060127.1
does not exist or is inaccessible and could not be deleted.

(You can ignore the above error for the drop location, as that data was
previously deleted long ago.)

The process is a little tedious, but now all traces of the demo builds are
gone.

posted on Wednesday, May 03, 2006 3:58 PM by jatwood

Post a
Comment ::

Comments

#
VSTS Links - 05/04/2006

Rob Caron tells us the localized Team Foundation Server
versions have shipped. He also posts about the...

Thursday, May 04, 2006
7:46 AM by Team System News

#
re: Deleting Team Build Types and Team Builds

Now that the TFS is released, the documentation is not
as sparce as it used to be. :-)
This functionality is indeed documented in
the following article: "How to: Delete a Build Type"
(http://msdn2.microsoft.com/en-us/library/ms181719.aspx).

Well, at least for the first part. As far as the builds themselves are
concerned I haven't found anything in the documentation.

Thursday, May 04, 2006
8:58 AM by Ognjen Bajic

Copyright © Vertigo Software,
Inc.