Microsoft Team Foundation Server 2015 Cookbook

Over 80 hands-on DevOps and ALM-focused recipes for Scrum Teams to enable the Continuous Delivery of high-quality Software... Faster!

Microsoft Team Foundation Server 2015 Cookbook

This ebook is included in a Mapt subscription
Tarun Arora

1 customer reviews
Over 80 hands-on DevOps and ALM-focused recipes for Scrum Teams to enable the Continuous Delivery of high-quality Software... Faster!
$0.00
$39.99
$49.99
$20.83p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781784391058
Paperback340 pages

Book Description

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

Chapter 1: Team Project Setup
Introduction
Connecting to TFS using Team Explorer
Setting up your user profile in TFS
Creating a Team Project using the Scrum Template
Assigning a license, adding users, and auditing user access
Configuring Dashboards in Team Project
Setting up a welcome page for a Team Project
Creating and setting up a Team Room
Renaming a Team Project
Creating a new Team Project through the command line
Deleting a Team Project
Chapter 2: Setting Up and Managing Code Repositories
Introduction
Creating a Git repository in an existing TFVC Team Project
Enabling code analysis check-in policy
Performing a baseless merge between sibling branches in TFVC
Reparenting a branch in TFVC
Unlocking files checked out by someone else
Unshelving a shelveset created in one branch to another branch
Ignoring file types from check-in using .tfignore and .gitignore
Conducting code reviews in TFS
Setting up policies for branches in Git
Conducting Pull requests in TFS
Analyzing code churn with TFS analysis services cube
Chapter 3: Planning and Tracking Work
Introduction
Selecting the backlog levels displayed on the Team Portal
Mapping, assigning, and tracking Work Items shared by multiple Teams
Adding additional columns to the Kanban board
Customizing cards displayed on the boards
Setting up the Team's capacity and activity for a sprint
Querying Work Items by Tags
Creating charts using Work Item Queries
Using Service Hooks to integrate with Trello boards
Deleting Work Items in TFS permanently
Using Microsoft Feedback Client to provide feedback
Chapter 4: Building Your Application
Introduction
Configuring TFBuild Agent, Pool, and Queues
Setting up a TFBuild Agent using an unattended installation
Creating a continuous integration build definition in TFBuild
Pinning a build badge to the welcome page in Team Portal
Managing build resources using role-based access
Using the build retention policy to automate build deletion
Using user capabilities to identify a build agent in a pool
Version DLLs in build output with build number
Creating a new build task using the TFBuild Extensibility framework
Integrating SonarQube with TFBuild to manage technical debt
Building GitHub code repositories with TFBuild
Chapter 5: Testing Your Application
Introduction
Running NUnit tests in the CI Pipeline using TFBuild
Creating and setting up a Machine Group
Deploying a test agent through the TFBuild task
Distributing test execution on a Lab Machine Group
Triggering Selenium Web Tests on a Selenium Test Grid using TFBuild
Integrating the Cloud Load Testing Service in TFBuild
Analyzing test execution results from the Runs view
Exporting and importing test cases in Excel from TFS
Copying and cloning test suites and test cases
Exporting test artifacts and test results from the test hub
Charting testing status on Dashboards in Team Portal
Chapter 6: Releasing Your Application
Introduction
Creating a release definition in Team Web Portal
Mapping artifacts to a release definition
Configuring a release definition for a continuous deployment
Adding and configuring environments in a release definition
Configuring security for release definitions
Configuring global and local variables for a release
Deploying an Azure website using release management
Deploying the IIS Web Application using release management
Tracking a release in release management
Chapter 7: Managing Team Foundation Server
Introduction
Diagnosing builds in TFS
Analyzing the TFS database and configuring test retention policies
Using Activity and Job Monitoring logs to diagnose TFS issues
Changing update frequency and forcing a rebuild of TFS Warehouse
Configuring TFS Cache settings
Managing CodeLens in TFS
Continuous synchronization with the TFS Proxy server
Creating a TFS database back up schedule
Cleaning up unused workspaces and shelvesets in TFS – in progress
Chapter 8: Extending and Customizing Team Foundation Server
Introduction
Acquiring TFS object model from the NuGet Gallery
Using Team Project Picker to connect to TFS programmatically
Determining the version of TFS using the TFS object model
Retrieving TFS permissions programmatically using the TFS object model
Getting the Process Template name for a Team Project programmatically
Getting build details programmatically using the REST API
Getting a list of Git repositories programmatically using the REST API
Getting a Work Item by ID programmatically using the REST API
Adding a Team field to the Product Backlog Item to an existing Team Project
Adding multi-item select control in the Work Item form

What You Will Learn

  • Creating a Team Project with Dashboards, Assigning License, Adding users, and Auditing Access
  • Setting up a Git repository in an existing TFVC-based Team Project
  • Setting up branch policies and conducting Pull requests with code reviews
  • Mapping, assigning and tracking work items shared by multiple teams
  • Setting up and customizing Backlogs, Kanban board, Sprint Taskboard, and dashboards
  • Creating a Continuous Integration, Continuous Build, and Release Pipeline
  • Integrating SonarQube with TFBuild to manage Technical Debt
  • Triggering Selenium Web Tests on a Selenium Test Grid using TFBuild
  • Using Visual Studio Team Services Cloud load testing capability with new Build framework
  • Extending and customizing the capabilities of Team Foundation Server using API and Process Editor

Authors

Table of Contents

Chapter 1: Team Project Setup
Introduction
Connecting to TFS using Team Explorer
Setting up your user profile in TFS
Creating a Team Project using the Scrum Template
Assigning a license, adding users, and auditing user access
Configuring Dashboards in Team Project
Setting up a welcome page for a Team Project
Creating and setting up a Team Room
Renaming a Team Project
Creating a new Team Project through the command line
Deleting a Team Project
Chapter 2: Setting Up and Managing Code Repositories
Introduction
Creating a Git repository in an existing TFVC Team Project
Enabling code analysis check-in policy
Performing a baseless merge between sibling branches in TFVC
Reparenting a branch in TFVC
Unlocking files checked out by someone else
Unshelving a shelveset created in one branch to another branch
Ignoring file types from check-in using .tfignore and .gitignore
Conducting code reviews in TFS
Setting up policies for branches in Git
Conducting Pull requests in TFS
Analyzing code churn with TFS analysis services cube
Chapter 3: Planning and Tracking Work
Introduction
Selecting the backlog levels displayed on the Team Portal
Mapping, assigning, and tracking Work Items shared by multiple Teams
Adding additional columns to the Kanban board
Customizing cards displayed on the boards
Setting up the Team's capacity and activity for a sprint
Querying Work Items by Tags
Creating charts using Work Item Queries
Using Service Hooks to integrate with Trello boards
Deleting Work Items in TFS permanently
Using Microsoft Feedback Client to provide feedback
Chapter 4: Building Your Application
Introduction
Configuring TFBuild Agent, Pool, and Queues
Setting up a TFBuild Agent using an unattended installation
Creating a continuous integration build definition in TFBuild
Pinning a build badge to the welcome page in Team Portal
Managing build resources using role-based access
Using the build retention policy to automate build deletion
Using user capabilities to identify a build agent in a pool
Version DLLs in build output with build number
Creating a new build task using the TFBuild Extensibility framework
Integrating SonarQube with TFBuild to manage technical debt
Building GitHub code repositories with TFBuild
Chapter 5: Testing Your Application
Introduction
Running NUnit tests in the CI Pipeline using TFBuild
Creating and setting up a Machine Group
Deploying a test agent through the TFBuild task
Distributing test execution on a Lab Machine Group
Triggering Selenium Web Tests on a Selenium Test Grid using TFBuild
Integrating the Cloud Load Testing Service in TFBuild
Analyzing test execution results from the Runs view
Exporting and importing test cases in Excel from TFS
Copying and cloning test suites and test cases
Exporting test artifacts and test results from the test hub
Charting testing status on Dashboards in Team Portal
Chapter 6: Releasing Your Application
Introduction
Creating a release definition in Team Web Portal
Mapping artifacts to a release definition
Configuring a release definition for a continuous deployment
Adding and configuring environments in a release definition
Configuring security for release definitions
Configuring global and local variables for a release
Deploying an Azure website using release management
Deploying the IIS Web Application using release management
Tracking a release in release management
Chapter 7: Managing Team Foundation Server
Introduction
Diagnosing builds in TFS
Analyzing the TFS database and configuring test retention policies
Using Activity and Job Monitoring logs to diagnose TFS issues
Changing update frequency and forcing a rebuild of TFS Warehouse
Configuring TFS Cache settings
Managing CodeLens in TFS
Continuous synchronization with the TFS Proxy server
Creating a TFS database back up schedule
Cleaning up unused workspaces and shelvesets in TFS – in progress
Chapter 8: Extending and Customizing Team Foundation Server
Introduction
Acquiring TFS object model from the NuGet Gallery
Using Team Project Picker to connect to TFS programmatically
Determining the version of TFS using the TFS object model
Retrieving TFS permissions programmatically using the TFS object model
Getting the Process Template name for a Team Project programmatically
Getting build details programmatically using the REST API
Getting a list of Git repositories programmatically using the REST API
Getting a Work Item by ID programmatically using the REST API
Adding a Team field to the Product Backlog Item to an existing Team Project
Adding multi-item select control in the Work Item form

Book Details

ISBN 139781784391058
Paperback340 pages
Read More
From 1 reviews

Read More Reviews