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

Building GitHub code repositories with TFBuild


The new build system offers seamless integration with GitHub. In this recipe, you'll learn how to use TFBuild to build a repository in GitHub.

Getting ready

If you don't already have a GitHub repository, create one from https://help.github.com/articles/create-a-repo.

For the walkthrough in this recipe, we'll be using the VisualStudioGeeks repository available at https://github.com/visualstudiogeeks/.

How to do it...

  1. Log into the GitHub repository from your profile menu, navigate to Settings, and select Personal access tokens. Click on the Generate new token button to create a new personal access token:

  2. Specify a name and select the access scope for the token. In order to trigger builds, the admin:repo_hook access level needs to be selected:

  3. Click on the Generate token button. Copy the access token and store it in a safe location. Note that you'll not be able to see this token again; should you lose it, you'll have to generate a new token:

  4. Navigate...