Skip to content

Commit 062347b

Browse files
authored
Merge pull request #14313 from anderson-joyle/main
Adding note to output variables for use in future jobs
2 parents 3296a54 + 003c078 commit 062347b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/pipelines/process/set-variables-scripts.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ jobs:
168168
---
169169
## Set an output variable for use in future jobs
170170

171-
When you use output variables across jobs, you reference them with `dependencies`. The syntax for accessing an output variable in a future job or stage varies based on the relationship between the setter and consumer of the variable. Learn about each case in [dependencies](expressions.md#dependencies).
171+
When you use output variables across jobs, you reference them with `dependencies`. The syntax for accessing an output variable in a future job or stage varies based on the relationship between the setter and consumer of the variable. Learn about each case in [dependencies](expressions.md#dependencies).
172+
173+
Output variables are only available in the next downstream job. If multiple jobs consume the same output variable, use the `dependsOn` condition.
172174

173175
# [Bash](#tab/bash)
174176

0 commit comments

Comments
 (0)