About this format
Azure Pipelines rely on YAML to define continuous integration triggers, agent pools, and sequential deployment steps.
Example Data
trigger:
- main
pool:
vmImage: ubuntu-latest
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'When to use azure-pipelines.yml
- Triggering builds on main branch
- Selecting VM images for agents
- Executing custom bash scripts