Azure DevOps

ExplainedToolsDevOps, Hands OnBy Cloud Hands On

Microsoft's other DevOps platform: Boards, Repos, Pipelines, Test Plans and Artifacts.

Azure DevOps is a set of services in one organisation at dev.azure.com: Boards for work items, Repos for Git, Pipelines for CI/CD in YAML, Test Plans and Artifacts for package feeds.

Many enterprises in the UK use it alongside or instead of GitHub; the ideas (YAML pipelines, environments with approvals, service connections with workload identity federation) carry over directly from GitHub Actions.

Cost. Free for up to 5 users with one Microsoft-hosted pipeline job (new organisations must request the free hosted minutes, which can take a few days) or unlimited self-hosted jobs.

Use it when

How it works

Organisation and project
The organisation holds projects; a project holds boards, repos and pipelines.
YAML pipeline
azure-pipelines.yml with stages, jobs and steps, much like a GitHub workflow.
Service connection
How a pipeline signs in to Azure; use workload identity federation (OIDC), not secrets.
Agent pool
Microsoft-hosted agents, or your own self-hosted agents on VMs or containers.

Options

GitHub Actions
Best when code is already on GitHub; huge marketplace of actions.
Azure Pipelines
Best when the organisation uses Azure DevOps Boards and Repos, or needs its approvals and checks model.

Example. Ironbridge Payments tracks work in Azure Boards and deploys with Azure Pipelines through a service connection that uses workload identity federation: no secrets in the pipeline.

Don't confuse it with

GitHub Actions
Same ideas, different YAML: jobs and steps, environments, OIDC to Azure.
Jenkins
Self-hosted and plug-in based; more to run yourself.

Words to know

Stage
A group of jobs, such as Build or Deploy to production.
Workload identity federation
OIDC trust between the pipeline and Entra ID.

Where to look

  1. dev.azure.com
  2. Organisation
  3. Project
  4. Pipelines

Practise it

Read it in the guide, next to the tasks and labs.

Open in DevOps, Hands On

Keep going