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 7 - <strong>Team</strong> Build Explained<br />

Objectives<br />

• Understand Microsoft® <strong>Visual</strong> <strong>Studio</strong>® <strong>Team</strong> System <strong>Team</strong> Build architecture.<br />

• Learn the components that make up <strong>Team</strong> Build.<br />

• Understand the functionality <strong>Team</strong> Build provides.<br />

• Select an appropriate build strategy.<br />

• Identify ways in which your build strategy may need to be changed if you work on a<br />

large project.<br />

Overview<br />

This chapter explains how you can use <strong>Team</strong> Build to automate the build process. It<br />

outlines a number of common build-related stumbling blocks and compares various<br />

approaches to builds ranging from daily scheduled builds to continuous integration<br />

builds.<br />

<strong>Team</strong> Build is built on top of the Microsoft Build Engine (MSBuild) and you can use it to<br />

retrieve the necessary source code for a build, compile solutions and (if required) execute<br />

unit tests and static code analysis tools as part of the build process. You can also release<br />

build output to a specified shared location.<br />

<strong>Team</strong> Build labels the source code used for a particular build <strong>with</strong> build numbers so that<br />

you can retrieve the source used to create a specific build at some point in the future. In<br />

case of failures, you can configure <strong>Team</strong> Build to create work items and to notify the<br />

users about the build failures it encountered.<br />

How to Use This Chapter<br />

Use this chapter to learn about the functionality that <strong>Team</strong> Build provides for automating<br />

and managing the build process, and to understand the different strategies for scheduling<br />

builds. To gain the greatest benefit from this chapter, you should:<br />

• Read “Chapter 8 - Setting up Continuous Integration <strong>with</strong> <strong>Team</strong> Build” to learn<br />

more about using continuous integration <strong>with</strong> <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> (TFS).<br />

• Read “Chapter 9 - Setting up Scheduled Builds <strong>with</strong> <strong>Team</strong> Build” to learn more<br />

about using scheduled builds.<br />

• Read the companion How To articles to help perform build-related tasks:<br />

• How To: Automatically Run Code Analysis <strong>with</strong> <strong>Team</strong> Build in <strong>Visual</strong> <strong>Studio</strong><br />

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

• How To: Set Up a Continuous Integration Build in <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong><br />

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

• How To: Set Up a Scheduled Build in <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong>.

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

Saved successfully!

Ooh no, something went wrong!