26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. Install the solution on your TFS server from following location<br />

http://download.microsoft.com/download/6/5/e/65e300ce-22fc-4988-97de-<br />

0e81d3de2482/ci.msi<br />

2. On the second page of the installer wizard, ensure that the “<strong>Team</strong> <strong>Foundation</strong><br />

<strong>Server</strong>” site is selected.<br />

Setup creates a virtual directory beneath the root of the application-tier server for<br />

TFS. This should be an Internet Information Services (IIS) Web site named <strong>Team</strong><br />

<strong>Foundation</strong> <strong>Server</strong> on port 8080.<br />

Step 3 – Configure the Continuous Integration Solution<br />

In this step, you will configure the CI settings to specify the project to be built and the<br />

build machine and team build type to be used.<br />

1. Perform the followings steps to ensure that the virtual root runs in the "TfsAppPool"<br />

application pool:<br />

a. Open IIS Manager by clicking Start, click Administrative Tools, and then<br />

select IIS Manager<br />

b. Under the Web Sites, expand the <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> Web site.<br />

c. Right-click on the CI Web Application and make sure that Application Pool<br />

is set to TfsAppPool.<br />

2. Configure Continuous Integration settings as follows<br />

a. Open the CI Web Application Web.config file located at C:\Program<br />

Files\Microsoft <strong>Visual</strong> <strong>Studio</strong> 2005 <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong>\Web<br />

Services\CI\<br />

b. Set the following properties by adding a new key under the <br />

node:<br />

o <strong>Team</strong><strong>Foundation</strong><strong>Server</strong> – the URL for the application tier, in the<br />

format http://machine:8080.<br />

o <strong>Team</strong>Project – the team project for which you want to enable CI<br />

o BuildType – the build type to be used while creating CI builds.<br />

Typically, this is configured for builds only. You can also add a<br />

basic level of testing and static analysis.<br />

o Build Machine – an optional parameter, use this to override the<br />

default build machine specified in the build type.<br />

The following is an example of the configuration settings:<br />

….<br />

<br />

….<br />

Step 4 – Register for the CheckinEvent Event<br />

In this step, you register for the CheckinEvent event by using the bisubscribe tool<br />

available <strong>with</strong> TFS.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!