From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding stages to pipelines

Adding stages to pipelines - Azure Tutorial

From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Start my 1-month free trial

Adding stages to pipelines

- Stages are logical groupings of steps that allow us to build and then deploy to different environments for production, to give us the chance to test the quality of what's deployed. Multi-stage pipelines allow us to group together commonly run tasks and to build sections to perform part of the workflow. Stages allow us to break down complex deployments into separate sections that can run independently and in parallel with the others. The stages syntax includes the name of the stage, the dependencies and conditions that need to be met, as well as variables that can be used to provide input into a stage. And finally, includes a list of jobs that make up the work of the stage. These can either be individual jobs or it can be a reference to a template of steps. A good example of stages is a pipeline that first builds and tests code before it deploys it into a staging environment. You can use stages to define different…

Contents