In order to support the new Workflow Foundation build technology used by Team Foundation Server 2010,  FinalBuilder 7 ships with a custom TFS Workflow activity and two XAML build templates. You can use these templates as-is to integrate FinalBuilder into your TFS build process, or you use them as a basis for creating your own custom build workflow.

Due to changes in the TFS API, builds created in TFS2008 with the FinalBuilder VS.NET TFS addin will not run under TFS2010.

This article will provide an overview of the FinalBuilder templates, give you a step-by-step guide to using one of them, and provide some introductory information on customisation. It assumes that you have already installed FinalBuilder 7 on your TFS Build Agent machine.

The FinalBuilder templates

There are two FinalBuilder templates provided, which are located in <FinalBuilderInstallDir>\TFS Templates

  • FinalBuilderBuild.xaml : replaces the build and test processes in the default TFS template with a call out to FinalBuilder. This template uses TFS to create the workspace, get the code out of source control (including the FinalBuilder project) and otherwise set up the Build Agent. It then calls FinalBuilder and runs the project you have specified. We'll step through how set up a build with this template in a minute.
  • FinalBuilderPostBuild.xaml : runs FinalBuilder at the end of the default TFS template. TFS is used to build and test the solution and the FinalBuilder project is run afterwards to do any post-build operations. It allows you to easily extend the TFS build with FinalBuilder, taking advantage of all of its built-in actions.

In both cases the output from FinalBuilder will appear in the TFS build log. If the FinalBuilder build fails, the TFS build will also fail. 

The rest of this article will cover:

Pages: 1 of 5 Next Page
Posted in: FinalBuilder

Post Rating


Javier Delgadillo
# Javier Delgadillo
Friday, September 10, 2010 11:19 AM
I'm trying to follow this tutorial using an existing VS C++ project. (Is that supported?) I get an error when building but am not sure where to set the "index" parameter this is complaining about:

Get local FB project location
Initial Property Values
Input = $/FinalBuilderTest/Source/Install/InstallFB.fbp7
Workspace = 4_2_host;DOMAIN\user
Final Property Values
Input = $/FinalBuilderTest/Source/Install/TrackingInstallFB.fbp7
Result = C:\Builds\2\FinalBuilderTest\FinalBuilder Test\Sources\Source\Install\TrackingInstallFB.fbp7
Workspace = 4_2_host;DOMAIN\user
Get local source location
Initial Property Values
Input =
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Sunday, September 12, 2010 4:38 PM
Hi Javier,
Can you please set the logging verbosity to 'Diagnostic' in the build definition, re-run the build then send the full TFS build log through to support@finalbuilder.com.


Javier Delgadillo
# Javier Delgadillo
Monday, September 13, 2010 12:04 PM
Log sent in.


# archertechnologies
Thursday, February 17, 2011 11:07 AM
Was Ben's error ever resolved? I am getting the same exact error. Any updates would be appreciated. Thanks.
Thursday, February 17, 2011 4:41 PM
Javier's error (if I recall correctly) was that he wasn't specifying a project to be built in the TFS Build Definition. If that's not the case for you, the best thing to do is to set the logging level to Diagnostic, run the build then send the full log to support at finalbuilder.com.



Post Comment

Only registered users may post comments.