Skip to content

Commit 628bfa8

Browse files
author
Steve Danielson
committed
Updates all links to original yaml-schema.md
1 parent 8ab4ba0 commit 628bfa8

40 files changed

+57
-61
lines changed

docs/extend/develop/add-build-task.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ Create a new Visual Studio Marketplace service connection and grant access permi
540540

541541
![Screenshot that shows the Visual Studio Marketplace new service connection pane.](media/new-vs-marketplace-service-connection.png)
542542

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/).
544544

545545
```yaml
546546
trigger:

docs/get-started/index.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ landingContent:
9595
- linkListType: reference
9696
links:
9797
- text: YAML Schema
98-
url: ../pipelines/yaml-schema.md
98+
url: /azure/devops/pipelines/yaml-schema/
9999
- title: Set your preferences
100100
linkLists:
101101
- linkListType: quickstart

docs/index.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ productDirectory:
9696
text: What is Azure Pipelines?
9797
- url: ./pipelines/create-first-pipeline.md
9898
text: Create your first pipeline
99-
- url: ./pipelines/yaml-schema.md
99+
- url: /azure/devops/pipelines/yaml-schema/
100100
text: YAML schema
101101
- url: ./pipelines/process/variables.md
102102
text: Define variables

docs/pipelines/agents/pools-queues.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ To use a private pool with no demands:
114114
pool: MyPool
115115
```
116116
117-
For more information, see the [YAML schema](../yaml-schema.md) for [pools](../yaml-schema.md#pool).
117+
For more information, see the [YAML schema](/azure/devops/pipelines/yaml-schema) for [pools](/azure/devops/pipelines/yaml-schema/pool).
118118
119119
# [Classic](#tab/classic)
120120

docs/pipelines/artifacts/pypi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ With Azure Pipelines, you can publish your Python packages to Artifacts feeds, p
2424
- script: 'pip install twine'
2525
```
2626
27-
See [script shortcut](../yaml-schema.md#script) for more details.
27+
See [script shortcut](/azure/devops/pipelines/yaml-schema/steps-script) for more details.
2828
2929
#### [Classic](#tab/classic/)
3030

docs/pipelines/build/ci-build-git.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ A common workflow with Git is to create temporary branches from your main branch
3737
#### [YAML](#tab/yaml/)
3838
::: moniker range=">=azure-devops-2020"
3939

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.
4141

4242
```yaml
4343
trigger:

docs/pipelines/build/includes/variables-hosted.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ Note: This variable yields a value that is invalid for build use in a build numb
485485
<br/><br/>
486486
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.
487487
<br /><br />
488-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <a href="../../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 <a href="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
489489
</td>
490490

491491
<td>No</td>
@@ -497,7 +497,7 @@ If you are triggering a YAML pipeline using <code>resources</code>, you should u
497497
<br/><br/>
498498
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.
499499
<br /><br />
500-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <a href="../../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 <a href="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
501501
</td>
502502
<td>No</td>
503503
</tr>
@@ -508,7 +508,7 @@ If you are triggering a YAML pipeline using <code>resources</code>, you should u
508508
<br/><br/>
509509
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.
510510
<br /><br />
511-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <a href="../../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 <a href="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
512512
</td>
513513
<td>No</td>
514514
</tr>
@@ -519,7 +519,7 @@ If you are triggering a YAML pipeline using <code>resources</code>, you should u
519519
<br/><br/>
520520
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.
521521
<br /><br />
522-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <a href="../../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 <a href="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
523523
</td>
524524
<td>No</td>
525525
</tr>
@@ -530,7 +530,7 @@ If you are triggering a YAML pipeline using <code>resources</code>, you should u
530530
<br/><br/>
531531
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.
532532
<br /><br />
533-
If you are triggering a YAML pipeline using <code>resources</code>, you should use the <a href="../../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 <a href="/azure/devops/pipelines/yaml-schema/resources-pipelines-pipeline#the-pipeline-resource-metadata-as-predefined-variables">resources variables</a> instead.
534534
</td>
535535
<td>No</td>
536536
</tr>

docs/pipelines/customize-pipeline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,4 +312,4 @@ Or, to grow your CI pipeline to a CI/CD pipeline, include a [deployment job](../
312312

313313
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).
314314

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/).

docs/pipelines/ecosystems/deploy-linux-vm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ For more guidance, follow the steps mentioned in [Build your Node.js app with gu
191191
```
192192
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.
193193
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).
195195
196196
3. Specify either `runOnce` or `rolling` as a deployment strategy.
197197

@@ -278,4 +278,4 @@ The **Deployments** view provides complete traceability of commits and work item
278278
- [Variables](../process/variables.md)
279279
- [Triggers](../build/triggers.md)
280280
- [Troubleshooting](../troubleshooting/troubleshooting.md).
281-
- [YAML schema reference](../yaml-schema.md).
281+
- [YAML schema reference](/azure/devops/pipelines/yaml-schema).

docs/pipelines/ecosystems/dotnet-core.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ pool:
148148
vmImage: 'ubuntu-18.04' # examples of other options: 'macOS-10.15', 'windows-2019'
149149
```
150150

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.
152152

153153
The Microsoft-hosted agents don't include some of the older versions of the .NET Core SDK.
154154
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.

docs/pipelines/ecosystems/python.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ To authenticate with `twine`, use the [Twine Authenticate task](../tasks/package
308308
pythonUploadServiceConnection: '<twine service connection from external organization>'
309309
```
310310

311-
Then, add a custom [script](../yaml-schema.md#script) that uses `twine` to publish your packages.
311+
Then, add a custom [script](/azure/devops/pipelines/yaml-schema/steps-script) that uses `twine` to publish your packages.
312312

313313
```yaml
314314
- script: |

docs/pipelines/get-started/multi-stage-pipelines-experience.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Learn more about configuring pipelines in the language of your choice:
173173

174174
Learn more about building [Azure Repos](../repos/azure-repos-git.md) and [GitHub](../repos/github.md) repositories.
175175

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).
177177

178178

179179

docs/pipelines/includes/create-first-pipeline-next-steps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For details about building GitHub repositories, see [Build GitHub repositories](
2424

2525
To lean how to publish your Pipeline Artifacts, see [Publish Pipeline Artifacts](../publish-pipeline-artifact.md).
2626

27-
To find out what else you can do in YAML pipelines, see [YAML schema reference](../yaml-schema.md).
27+
To find out what else you can do in YAML pipelines, see [YAML schema reference](/azure/devops/pipelines/yaml-schema).
2828

2929
### Clean up
3030

docs/pipelines/index.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ landingContent:
9595
- linkListType: reference
9696
links:
9797
- text: YAML schema
98-
url: yaml-schema.md
98+
url: /azure/devops/pipelines/yaml-schema/
9999
- text: Predefined variables
100100
url: ./build/variables.md
101101
- text: Release & artifacts variables

docs/pipelines/library/task-groups.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ monikerRange: '>= tfs-2017'
1919
::: moniker-end
2020

2121
> [!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).
2323
2424
A *task group* allows you to encapsulate a sequence of tasks, already defined
2525
in a build or a release pipeline, into a single reusable task that can be

docs/pipelines/migrate/from-jenkins.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ an Azure Pipelines YAML configuration. The two are conceptually similar,
3737
supporting "configuration as code" and allowing you to check your configuration
3838
into your version control system. Unlike Jenkins, however, Azure Pipelines
3939
uses the industry-standard [YAML to configure the build
40-
pipeline](../yaml-schema.md).
40+
pipeline](/azure/devops/pipelines/yaml-schema).
4141

4242
The concepts between Jenkins and
4343
Azure Pipelines and the way they're configured are similar. A Jenkinsfile

docs/pipelines/policies/permissions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Task group permissions follow a hierarchical model. Defaults for all the permiss
239239
### Set task group permissions at the project-level
240240

241241
> [!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).
243243
244244

245245
1. Open **Pipelines** > **Task groups** in your project.

docs/pipelines/process/demands.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pool:
5454
> [!NOTE]
5555
> 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.
5656
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).
5858
5959
# [Classic](#tab/classic)
6060

docs/pipelines/process/deployment-jobs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Deployment jobs use the `$(Pipeline.Workspace)` system variable.
8585

8686
`preDeploy`: Used to run steps that initialize resources before application deployment starts.
8787

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).
8989

9090
`routeTraffic`: Used to run steps that serve the traffic to the updated version.
9191

docs/pipelines/process/environments-virtual-machines.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- script: echo "Hello world"
115115
```
116116

117-
To learn more about deployment jobs, see the [YAML schema](../yaml-schema.md?tabs=schema#deployment-job).
117+
To learn more about deployment jobs, see the [YAML schema](/azure/devops/pipelines/yaml-schema/jobs-deployment).
118118

119119
## Add and manage tags
120120

@@ -192,4 +192,4 @@ When you retry a stage, it reruns the deployment on all VMs and not just failed
192192
193193
- [About environments](environments.md)
194194
- [Learn about deployment jobs](deployment-jobs.md)
195-
- [YAML schema reference](../yaml-schema.md)
195+
- [YAML schema reference](/azure/devops/pipelines/yaml-schema)

docs/pipelines/process/includes/parameter-data-types.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ ms.date: 02/28/2020
1414
| `boolean` | `true` or `false`
1515
| `object` | any YAML structure
1616
| `step` | a single step
17-
| `stepList` | sequence of [steps](../../yaml-schema.md#steps)
17+
| `stepList` | sequence of [steps](/azure/devops/pipelines/yaml-schema/steps)
1818
| `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)
2020
| `deployment` | a single deployment job
21-
| `deploymentList` | sequence of deployment [jobs](../../yaml-schema.md)
21+
| `deploymentList` | sequence of deployment jobs
2222
| `stage` | a single stage
23-
| `stageList` | sequence of [stages](../../yaml-schema.md)
23+
| `stageList` | sequence of stages
2424

2525
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.
2626

docs/pipelines/process/phases.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ When you specify one of the `clean` options, they are interpreted as follows:
879879
> [!NOTE]
880880
> 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).
881881

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:
883883

884884
1. Edit your pipeline, choose **...**, and select **Triggers**.
885885

docs/pipelines/process/resources.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -766,4 +766,4 @@ When you use the [Download Pipeline Artifacts task](../tasks/utility/download-pi
766766
* [Define variables](variables.md)
767767
* [Create and target an environment](environments.md)
768768
* [Use YAML pipeline editor](../get-started/yaml-pipeline-editor.md)
769-
* [YAML schema reference](../yaml-schema.md)
769+
* [YAML schema reference](/azure/devops/pipelines/yaml-schema)

docs/pipelines/process/tasks.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To run the same set of tasks in parallel on multiple agents, or to run some task
2929
By default, all tasks run in the same context, whether that's on the [host](phases.md) or in a [job container](container-phases.md).
3030
You may optionally use [step targets](#step-target) to control context for an individual task.
3131

32-
Learn more about how to specify properties for a task with the [YAML schema](../yaml-schema.md#task).
32+
Learn more about how to specify properties for a task with the [built-in tasks](../tasks/index.md).
3333

3434
::: moniker-end
3535

@@ -193,9 +193,6 @@ steps:
193193
condition: succeededOrFailed()
194194
```
195195

196-
> [!NOTE]
197-
> For the full schema, see [YAML schema for `task`](../yaml-schema.md#task).
198-
199196

200197
### Conditions
201198

docs/pipelines/release/integrate-jenkins-pipelines-cicd.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ Now a new CD release will be triggered every time your Jenkins CI job is complet
172172
* [Artifacts](artifacts.md)
173173
* [Stages](../process/stages.md)
174174
* [Triggers](triggers.md)
175-
* [YAML schema reference](../yaml-schema.md)
175+
* [YAML schema reference](/azure/devops/pipelines/yaml-schema)

docs/pipelines/repos/azure-repos-git.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ To configure this setting, navigate to **Pipelines**, **Settings** at either **O
197197
> [!IMPORTANT]
198198
> **Limit job authorization scope to referenced Azure DevOps repositories** is enabled by default for new organizations and projects created after May 2020.
199199
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.
201201

202202
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.
203203

0 commit comments

Comments
 (0)