posts - 4238, comments - 3946, trackbacks - 370

My Links


Subscribe Subscribe

image image image

This is my personal weblog. These postings are provided 'AS IS' with no warranties, and confer no rights. The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employer.

Licenza Creative Commons

Tag Cloud


Post Categories

Continuous Integration using Team Build

Ormai le soluzioni per avere la Continuous Integration con TFS iniziano a diventare parecchie...

You can easily get Team Build setup to perform Continuous Integration - a number one ask from most of the users of Team Build. Here is a sample which kishore and I came up with which helps you to get going with it (for beta3 and beta3R)

Follow these simple steps I followed to setup my CI sample

1. Install the CI.msi

2. In the second page of the wizard when it asks me for Site – I choose ‘Team Foundation Server’, Virtual directory is CI

3. I am done and the CI tool is installed

4. I go to IIS manager and check if CI has been registered under ‘Web Sites’ ‘Team Foundation Server’

5. Go to the properties of CI and make sure the Application Pool chosen is ‘TFS AppPool’

Now I need to edit the web.config file in the CI tool

6. I go to the local path where CI has been installed – in my case by default it has gone to d:\program files\Microsoft Visual Studio team Foundation Server\webservices\CI

7. uncomment the following line and add the name of the TFS server, team project name and build type name



Finally I need to subscribe to the checkin event notification using bissubscribe


8. subscribe to the notification using Bissubscribe

To do this, use the bissubscribe tool available at “%programfiles%\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup\BisSubscribe.exe" on the server.  The command to use is

Bissubscribe /eventType CheckinEvent /address http://khushboo-dev1:8080/ci/notify.asmx  /deliveryType Soap /userId fareast\khushbos /domain http://khushboo-dev1:8080 


Voila! You have CI all set for you, make a quick checkin and see if you get that build triggered off !

Something seems to be wrong still ? - Go through this list to make sure everything is in place

-          Did you remember to choose Team Foundation Server while as the site or was it created under the default web site

-          Did you remember to choose the TFSAppPool as the Application Pool

-          Sometimes after subscribing to the checkin event – iisreset is needed


The sample consists of:

  1. notify.asmx
  2. web.config – the configuration page which contains the properties for continuous integration.
  3. app_code\*.cs – the source code for the application.
  4. bin\*.dll – the reference assemblies.

Soon you will find a detailed whitepaper on this sample on MSDN - till then have fun with the sample and feel free to let us know what do you think of this.

Fonte: Continuous Integration using Team Build

Print | posted on mercoledì 4 gennaio 2006 13:05 |

Comments have been closed on this topic.

Powered by:
Powered By Subtext Powered By ASP.NET