Team Build Workspaces Make Baby Jesus Cry

Back to Listing

Team Build Workspaces Make Baby Jesus Cry


22 Oct, 2008


BuildServer Shane BuildServer
BuildServer Craig BuildServer
BuildServer TFSSETUP BuildServer
BuildServer Keith BuildServer
BuildServer1 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
10 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer12 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
13 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer14 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
16 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer2 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
23 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer28 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
3 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer30 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
31 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer32 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
4 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer6 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
7 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer8 TFSSERVICE BuildServer Workspace created by Team Build
BuildServer
9 TFSSERVICE BuildServer Workspace created by Team Build
{% endhighlight %}

From this output we can see that our build service user TFSSERVICE has a lot of workspaces defined. Considering we have 3 builds so far. Something is very wrong here.

Our original error message referenced a workspace named BuildServer_23 which does show up in our list. Using the tf workspace command, we can completely remove the workspace:

C:\>tf workspace /delete /server:BuildServer BuildServer_23;TFSSERVICE  
A deleted workspace cannot be recovered.  
Workspace 'BuildServer_23;TFSSERVICE' on server 'BuildServer' has 0 pending change(s).  
Are you sure you want to delete the workspace? (Yes/No) Y  

Our build now runs as expected. It's now time to verify what all those other workspaces are and remove them if they are not needed.

Hope this helps someone out there if you are desparately googling for away around this error.

Share this story

Bobby Johnson

About Author

I am a passionate engineer with an interest in shipping quality software, building strong collaborative teams and continuous improvement of my skills, team and the product.

comments powered by Disqus
Back to top