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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Continuous Integration build provides quick feedback to developers, who can also<br />

configure their CI builds <strong>with</strong> quality gates to ensure further improvement in your build<br />

quality.<br />

Summary of Steps<br />

• Step 1 – Create and Test your Build<br />

• Step 2 – Install the Continuous Integration Solution<br />

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

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

• Step 5 – Test the Continuous Integration Build<br />

• Step 6 – Set Up E-mail Alerts<br />

Before You Begin<br />

Make sure the account that runs your build service has, Start a build = Allow, permission<br />

in <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong>.<br />

Step 1 – Create and Test your Build<br />

In this initial step, you create a test build and make sure it works from <strong>with</strong>in the <strong>Visual</strong><br />

<strong>Studio</strong> Integrated <strong>Development</strong> Environment (IDE). If the team build does not work, you<br />

should fix it before moving on to the next step.<br />

1. Create a Microsoft Windows® Form project that you can use for testing the build.<br />

2. Build the project and make sure that it is working correctly.<br />

3. Check your project into source control<br />

4. Create a team build as follows<br />

a. In <strong>Team</strong> Explorer, right-click <strong>Team</strong> Builds, and then click New <strong>Team</strong> Build<br />

Type<br />

b. Complete the self-explanatory <strong>Team</strong> Build Type Creation Wizard<br />

5. Verify that the team build is working by performing the following steps:<br />

a. In <strong>Team</strong> Explorer, double-click the <strong>Team</strong> Build Project you just created.<br />

b. On the Build menu of the <strong>Visual</strong> <strong>Studio</strong> instance, click Build <strong>Team</strong> Project<br />

.<br />

c. Confirm that the correct build type is selected and then click Build.<br />

6. Review the build output and make sure that no errors occurred in the build process.<br />

Important: Make sure your build services account (TFSService) has Full Control<br />

permission to the shared folder for the drops, as specified in <strong>Team</strong> Build Type Wizard.<br />

Step 2 – Install the Continuous Integration Solution<br />

In this step, you install the solution provided by VSTS team for setting up the CI build.<br />

Detailed information about the solution is available at http://msdn2.microsoft.com/enus/library/ms364045(VS.80).aspx

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

Saved successfully!

Ooh no, something went wrong!