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.

Chapter 9 - Setting Up Scheduled Builds <strong>with</strong> <strong>Team</strong> Build<br />

Objectives<br />

• Understand the purpose of a scheduled build.<br />

• Setup a scheduled build <strong>with</strong> Microsoft® <strong>Visual</strong> <strong>Studio</strong>® <strong>Team</strong> System <strong>Team</strong> Build.<br />

Overview<br />

This chapter explains how you can set up scheduled builds by using <strong>Team</strong> Build and<br />

Microsoft <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> (TFS). The purpose of a scheduled<br />

build is to automate the process of creating a reliable build on a consistent schedule. This<br />

is the type of build most often used by test teams, internal adopters, and external beta<br />

users.<br />

Scheduled builds are the simplest form of build automation. You can configure scheduled<br />

builds to run hourly, daily, weekly, or at any time interval that works best for your team.<br />

How to Use This Chapter<br />

Use this chapter to learn strategies for scheduled builds and to learn how to set up and<br />

configure scheduled builds by using <strong>Team</strong> Build. For a step-by-step walkthrough to help<br />

you set up a scheduled build see, “How To: Set Up a Scheduled Build.”<br />

If you are new to TFS and <strong>Team</strong> Build, or if you want to learn more about the options<br />

available for automating and scheduling builds, read “Chapter 7 - <strong>Team</strong> Build Explained”<br />

before reading this chapter.<br />

If you are concerned about build instability caused by the quality of the code that your<br />

development team checks in, you should consider using continuous integration builds.<br />

For more information about continuous integration, see “Chapter 8 - Setting Up<br />

Continuous Integration <strong>with</strong> <strong>Team</strong> Build.”<br />

Strategy for Scheduled Build Frequency<br />

The frequency of your builds is one of the most important decisions to make, when<br />

creating a scheduled build. You can choose to schedule your builds at an hourly, nightly,<br />

or weekly basis.<br />

Hourly Builds<br />

If you are working on a project that has enough check-ins to cause significant changes<br />

<strong>with</strong>in an hour, and you do not employ continuous integration builds you can choose an<br />

hourly build frequency. Hourly builds to provide rapid feedback to developers and can<br />

also be made available to testers and other team members to solicit their feedback.

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

Saved successfully!

Ooh no, something went wrong!