You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: Instructions/Labs/AZ400_M03_L04_Enabling_Continuous_Integration_with_Azure_Pipelines.md
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,19 +91,19 @@ Let's start by importing the build pipeline named [eshoponweb-ci-pr.yml](https:/
91
91
92
92
In this task, you will add policies to the main branch and only allow changes using Pull Requests that comply with the defined policies. You want to ensure that changes in a branch are reviewed before they are merged.
93
93
94
-
1. Go to **Repo>Branches** section.
94
+
1. Go to **Repos>Branches** section.
95
95
1. On the **Mine** tab of the **Branches** pane, hover the mouse pointer over the **main** branch entry to reveal the ellipsis symbol on the right side.
96
96
1. Click the ellipsis and, in the pop-up menu, select **Branch Policies**.
97
97
1. On the **main** tab of the repository settings, enable the option for **Require minimum number of reviewers**. Add **1** reviewer and check the box **Allow requestors to approve their own changes**(as you are the only user in your project for the lab)
98
-
1. On the **main** tab of the repository settings, click on**Add Build Validation** and in the Build pipeline list, select **eshoponweb-ci-pr** then click **Save**.
98
+
1. On the **main** tab of the repository settings, in the**Build Validation**section, click **+** (Add a new build policy) and in the **Build pipeline** list, select **eshoponweb-ci-pr** then click **Save**.
99
99
100
100
#### Task 3: Working with Pull Requests
101
101
102
102
In this task, you will use the Azure DevOps portal to create a Pull Request, using a new branch to merge a change into the protected **main** branch.
103
103
104
-
1. Navigate to the **Repos** section
105
-
1. Create a new branch named **Feature01** based on the **main** branch
106
-
1. Navigate to the **/eShopOnWeb/src/Web/Program.cs** file as part of the **Feature01** branch and make the following change on the first line:
104
+
1. Navigate to the **Repos** section in the eShopOnWeb navigation and click **Branches**.
105
+
1. Create a new branch named **Feature01** based on the **main** branch.
106
+
2. Click **Feature01* and navigate to the **/eShopOnWeb/src/Web/Program.cs** file as part of the **Feature01** branch and make the following change on the first line:
107
107
108
108
```csharp
109
109
// Testing my PR
@@ -117,8 +117,8 @@ In this task, you will use the Azure DevOps portal to create a Pull Request, usi
0 commit comments