Skip to content

Commit d1c9ca8

Browse files
committed
acrolinx and documentor edits
1 parent d3136fa commit d1c9ca8

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

docs/pipelines/process/stages.md

+15-14
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- script: echo "Running tests"
6464
```
6565
66-
This pipeline has one implicit stage and two jobs. The `stages` keyword is not used because there is only one stage.
66+
This pipeline has one implicit stage and two jobs. The `stages` keyword isn't used because there's only one stage.
6767

6868
```yaml
6969
jobs:
@@ -84,15 +84,15 @@ stages:
8484
displayName: "Stage A - Build and Test"
8585
jobs:
8686
- job: A1
87-
displayName: "Job A1 - Build"
87+
displayName: "Job A1 - build"
8888
steps:
8989
- script: echo "Building the application in Job A1"
90-
displayName: "Build Step"
90+
displayName: "Build step"
9191
- job: A2
9292
displayName: "Job A2 - Test"
9393
steps:
9494
- script: echo "Running tests in Job A2"
95-
displayName: "Test Step"
95+
displayName: "Test step"
9696
9797
- stage: B
9898
displayName: "Stage B - Deploy"
@@ -101,19 +101,20 @@ stages:
101101
displayName: "Job B1 - Deploy to Staging"
102102
steps:
103103
- script: echo "Deploying to staging in Job B1"
104-
displayName: "Staging Deployment Step"
104+
displayName: "Staging deployment step"
105105
- job: B2
106106
displayName: "Job B2 - Deploy to Production"
107107
steps:
108108
- script: echo "Deploying to production in Job B2"
109-
displayName: "Production Deployment Step"
109+
displayName: "Production deployment step"
110110
```
111111

112112
::: moniker-end
113113

114114
::: moniker range="<=azure-devops"
115115

116-
If you choose to specify a `pool` at the stage level, then all jobs defined in that stage use that pool unless specified at the job-level.
116+
If you specify a `pool` at the stage level, all jobs in that stage use that pool unless the stage is specified at the job level.
117+
117118

118119
```yaml
119120
stages:
@@ -161,7 +162,7 @@ Pipelines must contain at least one stage with no dependencies.
161162

162163
For more information on how to define stages, see [stages in the YAML schema](/azure/devops/pipelines/yaml-schema/stages).
163164

164-
The following example stages run sequentially. If you don't use a `dependsOn` keyword, stages run in the order they are defined.
165+
The following example stages run sequentially. If you don't use a `dependsOn` keyword, stages run in the order they're defined.
165166

166167

167168
```yaml
@@ -290,12 +291,12 @@ When you specify **After release** or **After stage** triggers, you can also spe
290291

291292
#### [YAML](#tab/yaml/)
292293
::: moniker range="<=azure-devops"
293-
YAML pipelines don't support queuing policies. Each run of a pipeline is independent from and unaware of other runs. In other words, your two successive commits may trigger two pipelines, and both of them will execute the same sequence of stages without waiting for each other. While we work to bring queuing policies to YAML pipelines, we recommend that you use [manual approvals](approvals.md) in order to manually sequence and control the order the execution if this is of importance.
294+
YAML pipelines don't support queuing policies. Each run of a pipeline is independent from and unaware of other runs. In other words, your two successive commits might trigger two pipelines, and both of them will execute the same sequence of stages without waiting for each other. While we work to bring queuing policies to YAML pipelines, we recommend that you use [manual approvals](approvals.md) in order to manually sequence and control the order the execution if this is of importance.
294295
::: moniker-end
295296

296297
#### [Classic](#tab/classic/)
297-
In some cases, you may be able to generate builds faster than
298-
they can be deployed. Alternatively, you may configure multiple
298+
In some cases, you might be able to generate builds faster than
299+
they can be deployed. Alternatively, you might configure multiple
299300
[agents](../agents/agents.md) and, for example, be creating releases from the same release pipeline
300301
for deployment of different artifacts. In such cases, it's useful to
301302
be able to control how multiple releases are queued into a
@@ -403,9 +404,9 @@ stages:
403404

404405
## Mark a stage as unskippable
405406

406-
Mark a stage as `isSkippable: false` to prevent pipeline users from skipping stages. For example, you may have a YAML template that injects a stage that performs malware detection in all pipelines. If you set `isSkippable: false` for this stage, Pipeline won't be able to skip malware detection.
407+
Mark a stage as `isSkippable: false` to prevent pipeline users from skipping stages. For example, you might have a YAML template that injects a stage that performs malware detection in all pipelines. If you set `isSkippable: false` for this stage, your pipeline won't be able to skip malware detection.
407408

408-
In the following example, the Malware detection stage is marked as non-skippable, meaning it must be executed as part of the pipeline run.
409+
In the following example, the Malware detection stage is marked as nonskippable, meaning it must be executed as part of the pipeline run.
409410

410411
```yaml
411412
- stage: malware_detection
@@ -416,7 +417,7 @@ In the following example, the Malware detection stage is marked as non-skippable
416417
...
417418
```
418419

419-
When a stage is non-skippable, it will show with a disabled checkbox in the **Stages to run** configuration panel.
420+
When a stage is nonskippable, it shows with a disabled checkbox in the **Stages to run** configuration panel.
420421

421422
:::image type="content" source="media/stages/stages-run-skip-stage.png" alt-text="Screenshot of stages to run with disabled stage. ":::
422423

0 commit comments

Comments
 (0)