Tools, Data & Automation14 min read

Azure DevOps: Release Management with Pipelines

Release management is the process of planning, scheduling and controlling how software moves from development into live use. Done well, it means that new features and fixes reach users quickly, reliably and without disruption. Azure DevOps Pipelines is the tool that makes this possible — automating the steps between a developer committing code and that code running in production.

What you will learn

  • What release management means and why it matters
  • How Azure DevOps Pipelines automate the path from code to production
  • How environments, approvals and gates control what gets released and when
  • Common deployment strategies and when to use each one
  • Detailed real-world examples from a housing association IT team

Introduction: why release management matters

In many organisations, releasing software is a high-risk, high-stress event. Changes are bundled up over weeks or months, deployed manually by following a checklist, and often cause unexpected problems that require late-night fixes. The root cause is usually the same: too many changes at once, too little automation, and too few checks before the release goes live.

Good release management inverts this. Changes are small and frequent. Each change is automatically built, tested and deployed through a series of environments before it reaches production. Human approval is required only at the right points — not for every step. Problems are caught early, when they are cheap to fix, rather than in production, when they are expensive and visible.

Azure DevOps Pipelines provides the infrastructure for this approach. A pipeline is a defined sequence of automated steps — called stages, jobs and tasks — that runs whenever code changes. Each run produces a build artefact: a packaged version of the application that can be deployed to any environment.

What does it mean? Pipelines, stages and environments

A pipeline in Azure DevOps is defined in a YAML file stored alongside the code in Azure Repos. This means the pipeline definition is version-controlled — you can see exactly what changed, when and why, just as you can with the application code itself. The pipeline file describes what should happen at each stage of the delivery process.

A stage is a logical division of the pipeline, typically corresponding to an environment. A typical pipeline for a web application might have three stages: Build (compile the code and run unit tests), Test (deploy to a test environment and run integration tests), and Production (deploy to the live environment). Each stage can have its own conditions, approvals and variables.

An environment in Azure DevOps represents a deployment target — a server, a set of servers, or a cloud service such as Azure App Service or Azure Kubernetes Service. Environments have their own history of deployments, so you can see at a glance what version of the application is running in each environment and when it was last deployed. Environments also support approval checks: a named person or group must approve a deployment before it proceeds.

A gate is an automated check that must pass before a stage can proceed. Common gates include: checking that all work items linked to the build are in the correct state (for example, marked as tested); checking that a monitoring service reports no active incidents in the current environment; or checking that the build has passed a security scan. Gates allow teams to enforce quality standards automatically, without relying on manual checklists.

How does it work? The pipeline in practice

When a developer merges code into the main branch of an Azure Repos repository, the pipeline triggers automatically. The first stage — Build — compiles the application, runs unit tests and packages the result into a build artefact. If any test fails, the pipeline stops and the developer is notified immediately. The artefact is only produced if the build succeeds.

The artefact is then deployed to the Test environment. This is an environment that mirrors production as closely as possible — same configuration, same data structure, but with test data rather than live data. Automated integration tests run against the deployed application. If they pass, the pipeline can proceed to the next stage. If they fail, the deployment to production is blocked automatically.

Before deploying to Production, the pipeline pauses for a human approval. The designated approver — typically a release manager, IT manager or senior developer — receives a notification in Microsoft Teams or by email. They review the deployment summary: what changes are included, what tests passed, and what the impact assessment says. They can approve, reject or defer the deployment. Only on approval does the pipeline proceed to deploy to Production.

After the production deployment, the pipeline can run post-deployment checks — for example, a smoke test that verifies the application is responding correctly, or a check against an application performance monitoring tool. If the smoke test fails, the pipeline can trigger an automatic rollback, redeploying the previous known-good version.

Deployment strategies: blue-green, canary and rolling

A deployment strategy defines how a new version of an application replaces the old one. The simplest strategy is a direct replacement: take the old version down, deploy the new version, bring it back up. This works for small applications with low traffic and a tolerance for brief downtime, but it is not suitable for systems that must be available around the clock.

A blue-green deployment maintains two identical production environments — blue and green. At any time, one is live (receiving real traffic) and the other is idle. When a new version is ready, it is deployed to the idle environment. Once verified, traffic is switched from the live environment to the newly deployed one. If a problem is found, traffic can be switched back instantly. Azure DevOps Pipelines supports blue-green deployments through deployment slots in Azure App Service, which allow traffic to be swapped with a single pipeline task.

A canary deployment releases the new version to a small percentage of users first — for example, 5% of traffic — while the remaining 95% continue to use the old version. The team monitors error rates, performance and user feedback for the canary group. If everything looks good, the percentage is gradually increased until the new version is serving all traffic. If a problem is detected, the canary is rolled back without affecting the majority of users. This strategy is particularly useful for high-traffic applications where even a small defect rate has a significant impact.

A rolling deployment updates instances of the application one at a time (or in small batches), rather than all at once. At any point during the deployment, some instances are running the old version and some are running the new version. This avoids downtime but requires the application to be designed to handle both versions running simultaneously — which is not always straightforward. Rolling deployments are commonly used for containerised applications running in Kubernetes.

A real-world example: releasing the tenant portal at Snips Housing

Snips Housing Association is releasing a new feature on its tenant self-service portal: the ability for tenants to view their repair history online. The feature has been developed over a two-week sprint and is ready for release. Here is how the release management process works using Azure DevOps.

The developer merges the feature branch into the main branch in Azure Repos. This triggers the pipeline automatically. The Build stage compiles the application and runs 47 unit tests — all pass. The pipeline packages the application into a Docker container image and publishes it to Azure Container Registry. The build takes four minutes.

The pipeline automatically deploys the container to the Test environment — a copy of the portal running in Azure with test tenant data. A suite of 23 automated integration tests runs against the deployed application, including tests that verify the repair history page loads correctly, displays the right data and handles error conditions gracefully. All tests pass. The pipeline sends a notification to the Microsoft Teams channel for the project: 'Build 47 deployed to Test — all tests passed.'

The tester at Snips Housing receives the notification and opens Azure Test Plans. She runs through a set of manual test cases — checking the repair history page on a mobile device, verifying that a tenant with no repairs sees an appropriate message, and confirming that the page is accessible using a screen reader. She marks all test cases as passed and links them to the build in Azure DevOps.

A gate checks that all work items linked to the build are in the 'Testing Complete' state in Azure Boards. They are. The pipeline sends an approval request to the IT Manager at Snips Housing via Microsoft Teams. He reviews the deployment summary — the list of changes, the test results and the tester's sign-off — and approves the deployment. The pipeline deploys the container to the Production environment. The deployment takes three minutes. A post-deployment smoke test confirms the portal is responding correctly. The work item is automatically moved to 'Done' in Azure Boards.

The entire process — from the developer merging code to the feature being live in production — takes less than two hours, most of which is the tester's manual checks. The IT Manager has a complete audit trail: what was released, when, who approved it, what was tested and what the automated checks showed. If a problem is found in the next 24 hours, the pipeline can redeploy the previous version in under five minutes.

A second example: releasing a Power Platform solution

Release management is not only for traditional software. The Power Platform — Power Apps, Power Automate and Dataverse — also benefits from structured release management, and Azure DevOps supports this through the Power Platform Build Tools.

The IT team at Snips Housing has built a Power App for logging maintenance requests internally. The app is stored as a solution in a Development environment in the Power Platform. When a change is ready for release, the pipeline exports the solution from the Development environment, unpacks it into source files, and commits those files to Azure Repos. This means the solution is version-controlled, just like traditional code.

The pipeline then imports the solution into a Test environment in the Power Platform, runs a set of automated checks using the Power Apps Checker (which validates the solution against Microsoft's best practice rules), and waits for a manual approval from the business owner. On approval, the pipeline imports the solution into the Production environment. The business owner receives a Teams notification confirming the release. The entire process is repeatable, auditable and takes less than 30 minutes.

Common pitfalls and how to avoid them

The most common pitfall in release management is treating the pipeline as a formality rather than a quality gate. If approvers routinely approve deployments without reviewing the test results, or if gates are bypassed because they are inconvenient, the pipeline stops providing value. The discipline of the process is as important as the tooling.

A second pitfall is having too many manual approval steps. Approvals add value at the right points — typically before deploying to production — but requiring approval for every environment slows the team down without adding proportionate value. The goal is to automate as much as possible and reserve human judgement for decisions that genuinely require it.

A third pitfall is neglecting environment parity. If the Test environment is significantly different from Production — different configuration, different data volumes, different infrastructure — then passing tests in Test gives false confidence. Investing in keeping environments as similar as possible is one of the highest-value activities a team can undertake.

Key takeaways

Azure DevOps Pipelines provides the infrastructure for reliable, repeatable release management. Stages map to environments; approvals and gates enforce quality standards at the right points; deployment strategies such as blue-green and canary reduce the risk of production incidents. The result is faster, more confident releases with a complete audit trail. The same principles apply whether you are releasing traditional software or Power Platform solutions.

Where to go next

Want to understand how Azure DevOps fits into the broader picture of IT tools and automation? The Tools, Data and Automation guide is a good next step.

Tools, Data and Automation: Where to Start →