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

Diagnosing builds in TFS


Development Teams use TFBuild for validating code changes and inspecting code quality and running tests. Builds are a critical part of any software development life cycle. As a TFS administrator, you may need to inspect issues with a build agent or diagnose a specific build definition. In this recipe, we'll learn how to diagnose build agents and build definitions.

Getting ready

Download TFBuild Agent from the TFS Administration Console. For more information on how to download the TFBuild Agent, refer to the Configuring TFBuild Agent, Pool, and Queues recipe in Chapter 4, Building Your Application. You need to have collection administration permissions to configure a TFBuild Agent. To create or edit a build definition, you need to be a member of the Build Administrators Group.

How to do it…

  1. The best place to start when diagnosing agent issues is to look at the agent trace logs. The agent trace logs are stored in the _diag folder in the agent working directory.

  2. If there...