Skip to content

Commit fed3409

Browse files
committed
one change
1 parent 4b9b8c4 commit fed3409

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/pipelines/process/conditions.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Pipeline conditions
33
description: Learn about how to specify the conditions under which each Azure Pipelines stage, job, or step runs.
44
ms.topic: conceptual
55
ms.assetid: C79149CC-6E0D-4A39-B8D1-EB36C8D3AB89
6-
ms.date: 06/18/2024
6+
ms.date: 06/20/2024
77
monikerRange: '<= azure-devops'
88
---
99

@@ -19,15 +19,15 @@ This article describes the conditions under which an Azure Pipelines stage, job,
1919

2020
You can override or customize this behavior by forcing a stage, job, or step to run even if a previous dependency fails, or by specifying a custom condition.
2121

22+
> [!NOTE]
23+
> For Classic pipelines, you can specify the conditions under which the task or job runs in the **Control Options** of each task, and in the **Additional options** for a job in a release pipeline.
24+
2225
## Conditions under which a stage, job, or step runs
2326

2427
In the pipeline definition YAML, you can specify the following conditions under which a stage, job, or step runs:
2528
[!INCLUDE [include](includes/task-run-built-in-conditions.md)]
2629
- Custom conditions.
2730

28-
> [!NOTE]
29-
> For Classic pipelines, you can specify the conditions under which the task or job runs in the **Control Options** of each task, and in the **Additional options** for a job in a release pipeline.
30-
3131
By default, stages, jobs, and steps run if all direct and indirect dependencies succeed. This status is the same as specifying `condition: succeeded()`. For more information, see [succeeded status function](expressions.md#succeeded).
3232

3333
When you specify a `condition` property for a stage, job, or step, you overwrite the default `condition: succeeded()`. Specifying your own conditions can cause your stage, job, or step to run even if the build is canceled. Make sure the conditions you write take into account the state of the parent stage or job.

0 commit comments

Comments
 (0)