TFS 2010 and the Team Foundation Create Workspace action

We're using FinalBuilder 7.0.0.1968 to deploy software. In a number of our projects we're retrieving SQL scripts from TFS 2010.

Previously we had 2 TFS servers, both with a Default Collection and FinalBuilder worked fine. However recently we decided to consolidate our TFS servers and we now have 1 server with 2 collections.

Now when we run our project the "Team Foundation Create Workspace" action fails, stating that I do not have permission to access TFS. I know this is incorrect as I'm a TFS admin. Looking at the log I can see that FinalBuilder is trying to execute the following command to "TF.exe"

workspace /new /noprompt /s:http://SERVERNAME:8080/tfs /permission

Hi Jimbo,

We are looking into this today. We will let you know how we progress.

Hi Jimbo,

I can reproduce what your seeing here, and will start working on a fix. A number of our actions will require the /collection: param added.

Hi Jimbo,

Your build can be downloaded from here;

http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700_2432.exe

Let us know if this fix works for you. Note that there is a new option in the TFS FinalBuilder settings. Check the option for using TFS2012 and up and the actions will start to use the “collection” param where required.

Note that in testing I have seen some weird and possibly broken behavior from TFS. I have asked on stackoverflow about some of them, and example of one is here;

http://stackoverflow.com/questions/18304968/tfs-workfold-unmap-multiple-workspaces-exist-with-the-name-xyz

Thanks Jason, I’ll update today and let you know how it goes.

I’ve also upvoted the question on stackoverflow.