Book Image

Microsoft Team Foundation Server 2015 Cookbook

By : Tarun Arora
Book Image

Microsoft Team Foundation Server 2015 Cookbook

By: Tarun Arora

Overview of this book

Team Foundation Server (TFS) allows you to manage code repositories, build processes, test infrastructure, and deploy labs. TFS supports your team, enabling you to connect, collaborate, and deliver on time. Microsoft's approach to Application Lifecycle Management (ALM) provides a flexible and agile environment that adapts to the needs of your team, removes barriers between roles, and streamlines processes. The book introduces you to creating and setting up team projects for scrum teams. You'll explore various source control repositories, branching, and merging activities, along with a demonstration of how to embed quality into every code check-in. Then, you'll discover agile project planning and management tools. Later, emphasis is given to the testing and release management features of TFS which facilitate the automation of the release pipeline in order to create potentially shippable increments. By the end of the book, you'll have learned to extend and customize TFS plugins to incorporate them into other platforms and enable teams to manage the software lifecycle effectively.
Table of Contents (16 chapters)
Microsoft Team Foundation Server 2015 Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a continuous integration build definition in TFBuild


In this recipe, you'll learn how to author a continuous integration build definition.

Getting ready

Scenario: The FabrikamTFVC Team wants to set up a build definition that is executed on every code check-in. The Team wants to run this build definition using Pool 1, which has the required frameworks installed to compile the code and execute unit tests.

To create a new build definition, you need to have the build definition author or builder's permissions. This permission can be granted by adding yourself to the Build Administrators Security Group.

How to do it...

  1. Navigate to the Build hub in FabrikamTFVC Team Portal by browsing to http://tfs2015:8080/tfs/DefaultCollection/FabrikamTFVC/_build. Click on the + icon to create a new build definition. Select Visual Studio from the DEFINITION TEMPLATES window:

    This loads an empty build definition called New Visual Studio definition 1:

  2. Navigate to the General tab, set the fields as illustrated...