Skip to content

Commit 9fa55f7

Browse files
author
Rami Bououni
committed
demo
1 parent 87ca371 commit 9fa55f7

6 files changed

Lines changed: 11 additions & 0 deletions

docs/pipelines/release/deploy-multiple-branches.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ In this section, you create the base Classic release pipeline and configure the
3636

3737
1. Under **Stages**, select the default stage and rename it to **Dev**. In the next steps, you configure this stage to deploy only when an artifact is produced from the *Dev* branch.
3838

39+
:::image type="content" source="media/rename-stage-classic-release.png" alt-text="A screenshot displaying how to rename a stage in a Classic release pipeline.":::
40+
3941
1. Under **Artifacts**, select **Add**.
4042

4143
1. Configure the artifact source:
@@ -44,8 +46,12 @@ In this section, you create the base Classic release pipeline and configure the
4446
- Complete the required fields for that source type, such as project, pipeline, and default version.
4547
- Select **Add**.
4648

49+
:::image type="content" source="media/add-artifact-to-classic-release.png" alt-text="A screenshot that shows how to add an artifact to a Classic release pipeline.":::
50+
4751
1. Select the **Continuous deployment trigger** icon on the artifact, and then turn on **Continuous deployment trigger** to create a release whenever a new artifact is available.
4852

53+
:::image type="content" source="media/enable-continuous-deployment-trigger.png" alt-text="A screenshot displaying how to enable the continuous deployment trigger in a Classic relealse pipeline.":::
54+
4955
1. In the **Dev** stage, select the **Pre-deployment conditions** icon.
5056

5157
1. Set **Deployment trigger** to **After release** so the stage starts automatically whenever a new release is created.
@@ -59,6 +65,9 @@ In this section, you create the base Classic release pipeline and configure the
5965

6066
With this filter in place, the **Dev** stage deploys only when the release is created from a build of the *Dev* branch.
6167

68+
:::image type="content" source="media/add-predeployment-conditions-to-classic-release.png" alt-text="A screenshot displaying how to set up the pre-deployment conditions in a Classic release pipeline.":::
69+
70+
6271
## Add a new stage
6372

6473
In this section, you add a second stage (**Prod**) to the same release pipeline and configure it to deploy only when artifacts are built from the *main* branch. This lets you keep branch-to-stage routing consistent across environments.
@@ -86,6 +95,8 @@ In this section, you add a second stage (**Prod**) to the same release pipeline
8695

8796
With this filter in place, the **Prod** stage deploys only when the release is created from a build of the *main* branch.
8897

98+
:::image type="content" source="media/add-predeployment-conditions-to-classic-release-prod-stage.png" alt-text="A screenshot displaying how to configure the predeployment conditions for the Prod stage in a Classic release pipeline.":::
99+
89100
## Deploy to a specific stage
90101

91102
At this point, your release pipeline is configured to route deployments by branch: artifacts from the *Dev* branch deploy to the **Dev** stage, and artifacts from the *main* branch deploy to the **Prod** stage. Use the following checks to validate that the branch filters are working as expected.
59.2 KB
Loading
77.2 KB
Loading
69.3 KB
Loading
-193 KB
Loading
26.3 KB
Loading

0 commit comments

Comments
 (0)