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.

Strategy<br />

• Use a scheduled build to produce regular builds.<br />

• Use CI build to get rapid feedback on check-ins.<br />

• Use a rolling build if CI builds are adversely impacting build server<br />

performance.<br />

• Use branching to reduce build breaks.<br />

• Use check-in policies to improve check-in quality.<br />

• Use build notification alerts to learn when the build has completed.<br />

Use a Scheduled Build to Produce Regular Builds<br />

Use a scheduled build to produce builds at regular, predictable intervals.<br />

Generally, builds provided to your test team and to others need to be reliable and should<br />

be made available at a fixed time frequency, so that feedback on the build can be<br />

collected in a timely fashion.<br />

The <strong>Team</strong> Build feature in Microsoft® <strong>Visual</strong> <strong>Studio</strong>® 2005 <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong><br />

(TFS) does not support scheduled builds from the user interface. Instead, you can use the<br />

Microsoft Windows® Task Scheduler to run the TFSBuild command-line utility to start<br />

builds at a predetermined time.<br />

To create a scheduled build<br />

1. Create a TFSBuild command line as follows:<br />

TfsBuild start <br />

2. Place the command line in a batch file.<br />

3. Create a Windows Scheduled Task that runs the batch file at your desired interval.<br />

Additional Resources<br />

• For more information about setting up scheduled builds <strong>with</strong> <strong>Team</strong> Build, see<br />

“Chapter 9: Setting Up a Scheduled Build <strong>with</strong> <strong>Team</strong> Build” in this guide.<br />

• For more information about setting up scheduled build <strong>with</strong> TFS, see “How To – Set<br />

Up a Scheduled Build in <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong>” in this guide.<br />

Use a Continuous Integration Build to Get Rapid Feedback on Check-ins<br />

You should use CI builds to provide your development team <strong>with</strong> rapid feedback on any<br />

breaking changes and on the quality of the build after each check-in. This helps the<br />

development team to fix the build issues quickly and can be used as a tool to improve the<br />

quality of your code.<br />

Although <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> 2005 does not provide a CI solution out of box, it<br />

does provide the framework for you to implement your own CI build solution.

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

Saved successfully!

Ooh no, something went wrong!