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.

Additional Resources<br />

• For more information about creating and using a custom check-in policy, see “How<br />

To – Step Through Creating Custom Check-in Policies for TFS” in this guide.<br />

• To learn how to customize a check-in policy, see “Walkthrough: Customizing Checkin<br />

Policies and Notes” at http://msdn2.microsoft.com/enus/library/ms181281(VS.80).aspx<br />

Continuous Integration Builds<br />

• How to automatically run Continuous Integration (CI) builds<br />

• How to determine if you need a rolling build<br />

• How to determine your rolling build time interval<br />

How to Automatically Run Continuous Integration Builds<br />

Although <strong>Visual</strong> <strong>Studio</strong> 2005 <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> does not provide a Continuous<br />

Integration (CI) solution out of the box, it does provide the framework for you to<br />

implement your own CI solution.<br />

To set up a CI build solution<br />

1. Create and test your build. Make sure that you have a <strong>Team</strong> Build type in place and<br />

that you can run it <strong>with</strong>out errors.<br />

2. Install the Continuous Integration add-on. Install the CI add-on from<br />

http://msdn2.microsoft.com/en-us/library/ms364045(VS.80).aspx.<br />

3. Configure the Continuous Integration add-on. Ensure that the CI Web application<br />

virtual root runs in the TFSAppPool application pool. Update the CI Web application<br />

Web.config file so that it works <strong>with</strong> your team server and team build by adding the<br />

following key:<br />

<br />

4. Register for the CheckinEvent event. Use the BisSubscribe.exe tool to register for<br />

the check-in event, by using the following command line:<br />

Bissubscribe /eventType CheckinEvent /address http://TFSRTM:8080/ci/notify.asmx<br />

/deliveryType Soap /domain http://TFSRTM:8080<br />

5. Test the CI build. Test the build by completing a check-in. Wait a few minutes for<br />

the build to complete, and then view the builds page to see if the build completed<br />

successfully.<br />

6. Set up e-mail alerts. Set up alerts so that concerned parties can be notified when the<br />

build completes. Open the Project Alerts dialog box from the team project context<br />

menu, and then select the A build completes alert check box.<br />

For more information and expanded steps, see “How To – Set Up a Continuous<br />

Integration Build <strong>with</strong> <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong>” in this guide.

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

Saved successfully!

Ooh no, something went wrong!