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
This is part of work in TEP-0076.
This commit provides the support to apply array results replacements.
Previous this commit we support emitting array results so users can
write array results to task level, but we cannot pass array results from
tasks within one pipeline. This commit adds the support for this.
Copy file name to clipboardExpand all lines: docs/variables.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,9 @@ For instructions on using variable substitutions see the relevant section of [th
22
22
|`tasks.<taskName>.results.<resultName>`| The value of the `Task's` result. Can alter `Task` execution order within a `Pipeline`.) |
23
23
|`tasks.<taskName>.results['<resultName>']`| (see above)) |
24
24
|`tasks.<taskName>.results["<resultName>"]`| (see above)) |
25
+
|`tasks.<taskName>.results.<resultName>[*]`| The array value of the `Task's` result. Can alter `Task` execution order within a `Pipeline`.) |
26
+
|`tasks.<taskName>.results['<resultName>'][*]`| (see above)) |
27
+
|`tasks.<taskName>.results["<resultName>"][*]`| (see above)) |
25
28
|`workspaces.<workspaceName>.bound`| Whether a `Workspace` has been bound or not. "false" if the `Workspace` declaration has `optional: true` and the Workspace binding was omitted by the PipelineRun. |
26
29
|`context.pipelineRun.name`| The name of the `PipelineRun` that this `Pipeline` is running in. |
27
30
|`context.pipelineRun.namespace`| The namespace of the `PipelineRun` that this `Pipeline` is running in. |
0 commit comments