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

Version DLLs in build output with build number


Traceability is very important in the software develop lifecycle. Teams strive for traceability between requirements and test cases, code check-ins and builds, and code changes and test runs. Talking of traceability, it would be useful to map the binaries in the build output back to the build. In this recipe, you'll learn how to stamp the DLLs in the build output with the build number they are being generated from.

Getting ready

Scenario: The FabrikamTFVC Team wants to label the source code used in the build and tag the label and build output using the build number:

Download the StampBuildNumber.ps1 script provided in the course material. Check-in the StampBuildNumber.ps1 script into the script folder as illustrated in this screenshot:

Permissions: You'll need to edit build definition permissions to execute this recipe; you can get these permissions by being added to the Build Administrators Group.

How to do it…

  1. Navigate to the Build hub in the FabrikamTFVC...