Geeks With Blogs
Chris' Random Ramblings from Downunder Sometimes Always....

Team Foundation Server does not have Continuous Integration (C.I.) facility out of the box. I believe this will be incorporated in a future release.

In the meantime, we have successfully implemented Continuous Integration using TFS Integrator coupled with Team Build (MSBUILD) and Automated Unit Testing in VSTS. We are running TFS in a single server installation and Team Build is running on a separate machine.

Details of TFS Integrator can be found at Mitch Denny's Blog.

For those wanting to know more about Continuous Integration, Martin Fowler has a very nice description.

At a high level, the below steps were used to create our Team Foundation Server Continuous Integration Envionrment:

Step 1.  Create your Build Type in TFS and include any Unit Tests that you want to perform as part of your build process.

Step 2.  Setup TFS Integrator. Refer to Mitch Denny's Blog

Step 3.  Edit [install directory]\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services\web.config

Ensure the <add key="emailNotificationFromAddress" value="myemail@hotmail.com" /> and <add key="smtpServer" value="smtpsever.com" /> are filled in correctly.

Step 4.  Next, you'll need to use the bissubscribe utility to subscribe to the BuildCompletionEvent event. This utility is available in the TFS installation folder on the server:

[install directory]\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup

<BisSubscribe.exe /eventType BuildCompletionEvent /address /deliveryType EmailHtml /server [tfs server name] /filter "TeamProject='[teamproject name]' AND CompletionStatus='Failed'"

eg. BisSubscribe.exe /eventType BuildCompletionEvent /address myemail@hotmail.com /deliveryType EmailHtml /server teamsystem /filter "TeamProject='TeamSystem Project' AND CompletionStatus='Failed'"

Posted on Thursday, September 28, 2006 6:48 PM | Back to top


Comments on this post: Continuous Integration and Team Foundation Server

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Chris Chan | Powered by: GeeksWithBlogs.net