Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 5f3d5b3

Browse files
authored
Update AZ400_M02_L03_Configure_Agent_Pools_and_Understand_Pipeline_Styles.md
1 parent 980b363 commit 5f3d5b3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Instructions/Labs/AZ400_M02_L03_Configure_Agent_Pools_and_Understand_Pipeline_Styles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,19 +165,19 @@ In this task, you will configure your lab Virtual Machine as an Azure DevOps sel
165165
1. From the list of projects, click the tile representing your **eShopOnWeb** project.
166166
1. On the **eShopOnWeb** pane, in the vertical navigational pane on the left side, in the **Pipelines** section, click **Pipelines**.
167167
1. On the **Recent** tab of the **Pipelines** pane, select **eShopOnWeb** and, on the **eShopOnWeb** pane, select **Edit**.
168-
1. On the **eShopOnWeb** edit pane, in the existing YAML-based pipeline, replace line 13 which says `vmImage: windows-latest` designating the target agent pool the following content, designating the newly created self-hosted agent pool:
168+
1. On the **eShopOnWeb** edit pane, in the existing YAML-based pipeline, replace line 13 which says `vmImage: ubuntu-latest` designating the target agent pool the following content, designating the newly created self-hosted agent pool:
169169
170170
```yaml
171171
name: az400m03l03a-pool
172172
demands:
173173
- Agent.Name -equals az400m03-vm0
174174
```
175175
176-
> **WARNING**: Be careful with copy/paste, make sure you have same indentation shown above.
176+
> **WARNING**: Be careful with copy/paste, make sure you have the same indentation shown above.
177177
178178
![Yaml pool syntax](images/m3/eshoponweb-ci-pr-pool_v1.png)
179179
180-
1. On the **eShopOnWeb** edit pane, in the upper right corner of the pane, click **Save and Run**. This will automatically trigger the build based on this pipeline.
180+
1. On the **eShopOnWeb** edit pane, in the upper right corner of the pane, click **Validate and save**. This will automatically trigger the build based on this pipeline.
181181
1. In the Azure DevOps portal, in the vertical navigational pane on the left side, in the **Pipelines** section, click **Pipelines**. Depending on your lab setup, the pipeline might prompt you for permissions. Click **Permit** to allow the pipeline to run.
182182
1. On the **Recent** tab of the **Pipelines** pane, click the **eShopOnWeb** entry, on the **Runs** tab of the **eShopOnWeb** pane, select the most recent run, on the **Summary** pane of the run, scroll down to the bottom, in the **Jobs** section, click **Phase 1** and monitor the job until its successful completion.
183183
@@ -186,7 +186,7 @@ In this task, you will configure your lab Virtual Machine as an Azure DevOps sel
186186
1. Stop and remove the agent service by running `.\config.cmd remove` from the command prompt.
187187
1. Delete the agent pool.
188188
1. Revoke the PAT token.
189-
1. Revert the changes in the **eshoponweb-ci-pr.yml** file by navigating to it from Repos/.ado/eshoponweb-ci-pr.yml, selecting **Edit** and removing lines 13-15 (the agent pool snippet), and changing back to `vmImage: windows-latest` as it was originally. (This is because you will use the same sample pipeline file in a future lab exercise.)
189+
1. Revert the changes in the **eshoponweb-ci-pr.yml** file by navigating to it from Repos/.ado/eshoponweb-ci-pr.yml, selecting **Edit** and removing lines 13-15 (the agent pool snippet), and changing back to `vmImage: ubuntu-latest` as it was originally. (This is because you will use the same sample pipeline file in a future lab exercise.)
190190
191191
![Revert pipeline pool back to vmImage settings](images/m3/eshoponweb-ci-pr-vmimage_v1.png)
192192

0 commit comments

Comments
 (0)