What is Azure Pipelines?
Azure Pipelines is a cloud service that supports continuous integration (CI) and continuous delivery (CD) to build, test, and deploy your code to any platform. It works with any language, any platform, and any cloud.
- Build pipelines compile code, run tests, and produce artifacts.
- Release pipelines deploy artifacts to target environments.
- Supports both YAML (code‑as‑configuration) and classic UI editors.
Key Benefits
- Scalable, hosted agents for Windows, Linux, and macOS.
- Integration with GitHub, Azure Repos, Bitbucket, and more.
- Parallel jobs and stages for fast feedback.
- Secure secrets handling via Azure Key Vault.
Getting Started
- Sign in to Azure DevOps and create a project.
- Navigate to Pipelines → Create Pipeline.
- Select your code repository (e.g., Azure Repos Git).
- Choose YAML or Classic Editor to define your pipeline.
- Run the pipeline and review the build results.
Simple YAML Example
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '7.x'
- script: dotnet build --configuration Release
displayName: 'Build'
- script: dotnet test --no-build --verbosity normal
displayName: 'Test'
Next Steps
Explore more detailed guides: