Creating a release pipeline using YAML
This section will teach you how to create a release pipeline using YAML. You will also learn how to create stages, jobs, and tasks in YAML format. To do this, follow these steps:
- Edit the existing pipeline by clicking on the ellipses (…) next to it and then click on Edit pipeline:
Figure 4.14 – Editing an existing pipeline
- Replace all contents of the existing
azure-pipelines.yml
file, as shown in the following screenshot:
Figure 4.15 – Advanced pipeline with two stages
There are two stages, as shown in the preceding screenshot:
- The first stage will display
Build
stage job
- The second stage will display
Release stage
This scenario displays build and release stages suitable for building the application (the Build
stage) and deploying the application (the Release
stage). It is easy to find errors or issues because if the build...