Automating CI/CD Pipelines on Azure TFS with yoTeam: A Step‑by‑Step Guide
This article explains how to quickly set up a complete CI/CD pipeline on Azure‑hosted TFS 2018 using the open‑source yoTeam generator, covering environment provisioning, pipeline creation, required tools, command‑line usage, and practical examples for DevOps teams.
Continuous integration and continuous deployment (CI/CD) pipelines are core DevOps practices, but building them can be complex. The article introduces the open‑source yoTeam tool, which integrates with Microsoft TFS and Azure to enable one‑click automated pipeline creation.
Background : DevOps adoption is growing across enterprises, and many teams seek a fast way to provision a baseline environment and generate delivery pipelines without manually configuring VMs, test environments, or build definitions.
Overview : Two approaches exist—using cloud‑based VSTS or creating a TFS 2018 instance on Azure. The focus here is on the Azure‑hosted TFS solution.
1. Creating an Azure TFS 2018 Environment : By leveraging the company’s research‑testing cloud product, a ready‑made Azure template can spin up a TFS 2018 instance with a single click, eliminating manual OS and software installation.
2. Generating the CI/CD Pipeline : The yoTeam generator automatically creates a team project, configures Git repositories, sets up CI builds, and links an automated deployment pipeline to Azure PaaS services. Screenshots illustrate each step.
About yoTeam : yoTeam is a Yeoman‑based open‑source generator hosted on GitHub. It supports multiple languages (Java, Node, ASP.NET Core, ASP.NET Full) and deployment targets (Azure App Service, Docker, Azure Container Instances). Prerequisites include Git, Node.js, npm, Azure PowerShell, and network access for private‑cloud scenarios.
Usage Modes : Two modes are available—interactive (demonstrated with GIFs) and command‑line. The interactive mode is recommended for ease of use.
Command‑Line Example (Interactive Mode) :
yo team:app --skip-cache false asp YoTeamDemoApplxm1 "http://{TFS_user}:{password}@{tfs_url}" "Visual Studio Enterprise - MPN" "{subscription_id}" {Tenant_ID} {Service_Principal_Client_ID} Default paasslots true 1 1 1 1 1 1 1 {servicePrincipalKey} {tfsPAT} YoTeamDemoApplxm1After the project is generated, push the code to TFS to trigger the pipeline:
cd YoTeamDemoApplxm1
git pushComposite Command Mode : Allows granular control by invoking sub‑commands such as yo team:project , yo team:azure , yo team:build , yo team:pipeline , yo team:git , etc.
Conclusion : yoTeam streamlines the creation of CI/CD pipelines on Azure‑hosted TFS, supporting both cloud and private‑cloud deployments. It can be integrated into existing build definitions, parameterized, and triggered automatically, providing a rapid, repeatable DevOps workflow.
DevOps
Share premium content and events on trends, applications, and practices in development efficiency, AI and related technologies. The IDCF International DevOps Coach Federation trains end‑to‑end development‑efficiency talent, linking high‑performance organizations and individuals to achieve excellence.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.