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_M11_Configuring_Pipelines_as_Code_with_YAML.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ In this task, you will add a YAML build definition to the existing project.
182
182
1. On the **Select a repository** pane, click **PartsUnlimited**.
183
183
1. On the **Configure your pipeline** pane, click **ASP<nolink>.NET** to use this template as the starting point for your pipeline. This will open the **Review your pipeline YAML** pane.
184
184
185
-
>**Note**: The pipeline definition will be saved as a file named **azure-pipelines.yml**in the root of the repository. The file will contain the steps required to build and test a typical ASP<nolink>.NET solution. You can also customize the build as needed. In this scenario, you will update the **pool** to enforce the use of a VM running Visual Studio 2017.
185
+
>**Note**: The pipeline definition will be saved as a file named **azure-pipelines.yml**in the root of the repository. The file will contain the steps required to build and test a typical ASP<nolink>.NET solution. You can also customize the build as needed. In this scenario, you will update the **pool** to enforce the use of a VM running Windows 2019.
186
186
187
187
1. Make sure `trigger` is **master**.
188
188
@@ -202,8 +202,6 @@ In this task, you will add a YAML build definition to the existing project.
202
202
203
203
>**Note**: Each task from the YAML file is available for review, including any warnings and errors.
204
204
205
-
1. Return to the pipeline run pane, switch from the **Summary** tab to the **Tests** tab, and review test statistics.
206
-
207
205
#### Task 3: Add continuous delivery to the YAML definition
208
206
209
207
In this task, you will add continuous delivery to the YAML-based definition of the pipeline you created in the previous task.
@@ -233,7 +231,7 @@ In this task, you will add continuous delivery to the YAML-based definition of t
233
231
jobs:
234
232
- job: Deploy
235
233
pool:
236
-
vmImage: 'vs2017-win2016'
234
+
vmImage: 'windows-2019'
237
235
steps:
238
236
```
239
237
@@ -256,7 +254,7 @@ In this task, you will add continuous delivery to the YAML-based definition of t
256
254
257
255
>**Note**: By default, these two stages run independently. As a result, the build output from the first stage might not be available to the second stage without additional changes. To implement these changes, we will use one task to publish the build output at the end of the build stage and another to download it in the beginning of the deploy stage.
258
256
259
-
1. Place the cursor on a blank line at the end of the build stage to add another task. (right below `task: VSTest@2` )
257
+
1. Place the cursor on a blank line at the end of the build stage to add another task. (right below `task: VSBuild@1` )
260
258
1. On the **Tasks** pane, search for and selectthe**Publish build artifacts** task.
261
259
1. On the **Publish build artifacts** pane, accept the default settings and click **Add**.
0 commit comments