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
Copy file name to clipboardexpand all lines: docs/extend/develop/add-build-task.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -540,7 +540,7 @@ Create a new Visual Studio Marketplace service connection and grant access permi
540
540
541
541

542
542
543
-
Use the following example to create a new pipeline with YAML. Learn more about how to [Create your first pipeline](../../pipelines/create-first-pipeline.md?tabs=javascript%2Cyaml%2Cbrowser%2Ctfs-2018-2) and [YAML schema](../../pipelines/yaml-schema.md?tabs=schema%2Cparameter-schema).
543
+
Use the following example to create a new pipeline with YAML. Learn more about how to [Create your first pipeline](../../pipelines/create-first-pipeline.md?tabs=javascript%2Cyaml%2Cbrowser%2Ctfs-2018-2) and [YAML schema](/azure/devops/pipelines/yaml-schema/).
Copy file name to clipboardexpand all lines: docs/pipelines/build/ci-build-git.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ A common workflow with Git is to create temporary branches from your main branch
37
37
#### [YAML](#tab/yaml/)
38
38
::: moniker range=">=azure-devops-2020"
39
39
40
-
Unless you specify a [trigger](../yaml-schema.md#push-trigger) in your YAML file, a change in any of the branches will trigger a build. Add the following snippet to your YAML file in the `main` branch. This will cause any changes to `main` and `feature/*` branches to be automatically built.
40
+
Unless you specify a [trigger](/azure/devops/pipelines/yaml-schema/trigger) in your YAML file, a change in any of the branches will trigger a build. Add the following snippet to your YAML file in the `main` branch. This will cause any changes to `main` and `feature/*` branches to be automatically built.
Copy file name to clipboardexpand all lines: docs/pipelines/build/includes/variables-hosted.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -485,7 +485,7 @@ Note: This variable yields a value that is invalid for build use in a build numb
485
485
<br/><br/>
486
486
This variable is agent-scoped, and can be used as an environment variable in a script and as a parameter in a build task, but not as part of the build number or as a version control tag.
487
487
<br /><br />
488
-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="../../yaml-schema.md#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
488
+
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
489
489
</td>
490
490
491
491
<td>No</td>
@@ -497,7 +497,7 @@ If you are triggering a YAML pipeline using <code>resources</code>, you should u
497
497
<br/><br/>
498
498
This variable is agent-scoped, and can be used as an environment variable in a script and as a parameter in a build task, but not as part of the build number or as a version control tag.
499
499
<br /><br />
500
-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="../../yaml-schema.md#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
500
+
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
501
501
</td>
502
502
<td>No</td>
503
503
</tr>
@@ -508,7 +508,7 @@ If you are triggering a YAML pipeline using <code>resources</code>, you should u
508
508
<br/><br/>
509
509
This variable is agent-scoped, and can be used as an environment variable in a script and as a parameter in a build task, but not as part of the build number or as a version control tag.
510
510
<br /><br />
511
-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="../../yaml-schema.md#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
511
+
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
512
512
</td>
513
513
<td>No</td>
514
514
</tr>
@@ -519,7 +519,7 @@ If you are triggering a YAML pipeline using <code>resources</code>, you should u
519
519
<br/><br/>
520
520
This variable is agent-scoped, and can be used as an environment variable in a script and as a parameter in a build task, but not as part of the build number or as a version control tag.
521
521
<br /><br />
522
-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="../../yaml-schema.md#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
522
+
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
523
523
</td>
524
524
<td>No</td>
525
525
</tr>
@@ -530,7 +530,7 @@ If you are triggering a YAML pipeline using <code>resources</code>, you should u
530
530
<br/><br/>
531
531
This variable is agent-scoped, and can be used as an environment variable in a script and as a parameter in a build task, but not as part of the build number or as a version control tag.
532
532
<br /><br />
533
-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="../../yaml-schema.md#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
533
+
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <ahref="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
Copy file name to clipboardexpand all lines: docs/pipelines/customize-pipeline.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -312,4 +312,4 @@ Or, to grow your CI pipeline to a CI/CD pipeline, include a [deployment job](../
312
312
313
313
To learn more about the topics in this guide see [Jobs](../pipelines/process/phases.md), [Tasks](../pipelines/process/tasks.md), [Catalog of Tasks](../pipelines/tasks/index.md), [Variables](../pipelines/process/variables.md), [Triggers](../pipelines/build/triggers.md), or [Troubleshooting](../pipelines/troubleshooting/troubleshooting.md).
314
314
315
-
To learn what else you can do in YAML pipelines, see [YAML schema reference](yaml-schema.md).
315
+
To learn what else you can do in YAML pipelines, see [YAML schema reference](/azure/devops/pipelines/yaml-schema/).
Copy file name to clipboardexpand all lines: docs/pipelines/ecosystems/deploy-linux-vm.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ For more guidance, follow the steps mentioned in [Build your Node.js app with gu
191
191
```
192
192
2. Select specific sets of VMs from the environment to receive the deployment by specifying the **tags** that you've defined for each VM in the environment.
193
193
194
-
For more information, see the [complete YAML schema for deployment job](../yaml-schema.md?tabs=schema#deployment-job).
194
+
For more information, see the [complete YAML schema for deployment job](/azure/devops/pipelines/yaml-schema/jobs-deployment).
195
195
196
196
3. Specify either `runOnce` or `rolling` as a deployment strategy.
197
197
@@ -278,4 +278,4 @@ The **Deployments** view provides complete traceability of commits and work item
Copy file name to clipboardexpand all lines: docs/pipelines/ecosystems/dotnet-core.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ pool:
148
148
vmImage: 'ubuntu-18.04' # examples of other options: 'macOS-10.15', 'windows-2019'
149
149
```
150
150
151
-
See [Microsoft-hosted agents](../agents/hosted.md) for a complete list of images and [Pool](../yaml-schema.md#pool) for further examples.
151
+
See [Microsoft-hosted agents](../agents/hosted.md) for a complete list of images and [Pool](/azure/devops/pipelines/yaml-schema/pool) for further examples.
152
152
153
153
The Microsoft-hosted agents don't include some of the older versions of the .NET Core SDK.
154
154
They also don't typically include prerelease versions. If you need these kinds of SDKs on Microsoft-hosted agents, add the [UseDotNet@2](../tasks/tool/dotnet-core-tool-installer.md) task to your YAML file.
Copy file name to clipboardexpand all lines: docs/pipelines/get-started/multi-stage-pipelines-experience.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ Learn more about configuring pipelines in the language of your choice:
173
173
174
174
Learn more about building [Azure Repos](../repos/azure-repos-git.md) and [GitHub](../repos/github.md) repositories.
175
175
176
-
To learn what else you can do in YAML pipelines, see [Customize your pipeline](../customize-pipeline.md), and for a complete reference see [YAML schema reference](../yaml-schema.md).
176
+
To learn what else you can do in YAML pipelines, see [Customize your pipeline](../customize-pipeline.md), and for a complete reference see [YAML schema reference](/azure/devops/pipelines/yaml-schema).
Copy file name to clipboardexpand all lines: docs/pipelines/library/task-groups.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ monikerRange: '>= tfs-2017'
19
19
::: moniker-end
20
20
21
21
> [!NOTE]
22
-
> Task groups are not supported in YAML pipelines. Instead, in that case you can use templates. See [YAML schema reference](../yaml-schema.md#step-templates).
22
+
> Task groups are not supported in YAML pipelines. Instead, in that case you can use templates. See [YAML schema reference](/azure/devops/pipelines/yaml-schema/steps-template).
23
23
24
24
A *task group* allows you to encapsulate a sequence of tasks, already defined
25
25
in a build or a release pipeline, into a single reusable task that can be
Copy file name to clipboardexpand all lines: docs/pipelines/policies/permissions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -239,7 +239,7 @@ Task group permissions follow a hierarchical model. Defaults for all the permiss
239
239
### Set task group permissions at the project-level
240
240
241
241
> [!NOTE]
242
-
> Task groups are not supported in YAML pipelines. Instead, in that case you can use templates. See [YAML schema reference](../yaml-schema.md#step-templates).
242
+
> Task groups are not supported in YAML pipelines. Instead, in that case you can use templates. See [YAML schema reference](/azure/devops/pipelines/yaml-schema/steps-template).
243
243
244
244
245
245
1. Open **Pipelines** > **Task groups** in your project.
Copy file name to clipboardexpand all lines: docs/pipelines/process/demands.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ pool:
54
54
> [!NOTE]
55
55
> Checking for the existence of a capability (exists) and checking for a specific string in a capability (equals) are the only two supported operations for demands.
56
56
57
-
For more information and examples, see [YAML schema - Demands](../yaml-schema.md#demands).
57
+
For more information and examples, see [YAML schema - Demands](/azure/devops/pipelines/yaml-schema/pool).
Copy file name to clipboardexpand all lines: docs/pipelines/process/deployment-jobs.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ Deployment jobs use the `$(Pipeline.Workspace)` system variable.
85
85
86
86
`preDeploy`: Used to run steps that initialize resources before application deployment starts.
87
87
88
-
`deploy`: Used to run steps that deploy your application. Download artifact task will be auto injected only in the `deploy` hook for deployment jobs. To stop downloading artifacts, use `- download: none` or choose specific artifacts to download by specifying [Download Pipeline Artifact task](../yaml-schema.md#download).
88
+
`deploy`: Used to run steps that deploy your application. Download artifact task will be auto injected only in the `deploy` hook for deployment jobs. To stop downloading artifacts, use `- download: none` or choose specific artifacts to download by specifying [Download Pipeline Artifact task](/azure/devops/pipelines/yaml-schema/steps-download).
89
89
90
90
`routeTraffic`: Used to run steps that serve the traffic to the updated version.
Copy file name to clipboardexpand all lines: docs/pipelines/process/includes/parameter-data-types.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ ms.date: 02/28/2020
14
14
| `boolean` | `true` or `false`
15
15
| `object` | any YAML structure
16
16
| `step` | a single step
17
-
| `stepList` | sequence of [steps](../../yaml-schema.md#steps)
17
+
| `stepList` | sequence of [steps](/azure/devops/pipelines/yaml-schema/steps)
18
18
| `job` | a single job
19
-
| `jobList` | sequence of [jobs](../../yaml-schema.md#job)
19
+
| `jobList` | sequence of [jobs](/azure/devops/pipelines/yaml-schema/jobs-job)
20
20
| `deployment` | a single deployment job
21
-
| `deploymentList` | sequence of deployment [jobs](../../yaml-schema.md)
21
+
| `deploymentList` | sequence of deployment jobs
22
22
| `stage` | a single stage
23
-
| `stageList` | sequence of [stages](../../yaml-schema.md)
23
+
| `stageList` | sequence of stages
24
24
25
25
The step, stepList, job, jobList, deployment, deploymentList, stage, and stageList data types all use standard YAML schema format. This example includes string, number, boolean, object, step, and stepList.
Copy file name to clipboardexpand all lines: docs/pipelines/process/phases.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -879,7 +879,7 @@ When you specify one of the `clean` options, they are interpreted as follows:
879
879
> [!NOTE]
880
880
> Depending on your agent capabilities and pipeline demands, each job may be routed to a different agent in your self-hosted pool. As a result, you may get a new agent for subsequent pipeline runs (or stages or jobs in the same pipeline), so **not** cleaning is not a guarantee that subsequent runs, jobs, or stages will be able to access outputs from previous runs, jobs, or stages. You can configure agent capabilities and pipeline demands to specify which agents are used to run a pipeline job, but unless there is only a single agent in the pool that meets the demands, there is no guarantee that subsequent jobs will use the same agent as previous jobs. For more information, see [Specify demands](demands.md).
881
881
882
-
In addition to workspace clean, you can also configure cleaning by configuring the **Clean** setting in the pipeline settings UI. When the **Clean** setting is **true** it is equivalent to specifying `clean: true` for every [checkout](../yaml-schema.md#checkout) step in your pipeline. To configure the **Clean** setting:
882
+
In addition to workspace clean, you can also configure cleaning by configuring the **Clean** setting in the pipeline settings UI. When the **Clean** setting is **true** it is equivalent to specifying `clean: true` for every [checkout](/azure/devops/pipelines/yaml-schema/steps-checkout) step in your pipeline. To configure the **Clean** setting:
883
883
884
884
1. Edit your pipeline, choose **...**, and select **Triggers**.
Copy file name to clipboardexpand all lines: docs/pipelines/repos/azure-repos-git.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,7 @@ To configure this setting, navigate to **Pipelines**, **Settings** at either **O
197
197
> [!IMPORTANT]
198
198
> **Limit job authorization scope to referenced Azure DevOps repositories** is enabled by default for new organizations and projects created after May 2020.
199
199
200
-
When **Limit job authorization scope to referenced Azure DevOps repositories** is enabled, your YAML pipelines must explicitly reference any Azure Repos Git repositories you want to use in the pipeline as a [checkout step](../yaml-schema.md#checkout) in the job that uses the repository. You won't be able to fetch code using scripting tasks and git commands for an Azure Repos Git repository unless that repo is first explicitly referenced.
200
+
When **Limit job authorization scope to referenced Azure DevOps repositories** is enabled, your YAML pipelines must explicitly reference any Azure Repos Git repositories you want to use in the pipeline as a [checkout step](/azure/devops/pipelines/yaml-schema/steps-checkout) in the job that uses the repository. You won't be able to fetch code using scripting tasks and git commands for an Azure Repos Git repository unless that repo is first explicitly referenced.
201
201
202
202
There are a few exceptions where you don't need to explicitly reference an Azure Repos Git repository before using it in your pipeline when **Limit job authorization scope to referenced Azure DevOps repositories** is enabled.
0 commit comments