Skip to content

Commit

Permalink
Add WhenExpressions to variable substitution documentation
Browse files Browse the repository at this point in the history
We have a table that documents all fields that accept variable
substitution, and the fields in WhenExpressions need to be added.

This change documents that `input` and `values` fields in the `when`
field accept variable substitution.
  • Loading branch information
jerop authored and tekton-robot committed Jul 13, 2021
1 parent 591e645 commit 42ca2bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,5 @@ variable via `resources.inputs.<resourceName>.<variableName>` or
| `Pipeline` | `spec.tasks[].params[].value` |
| `Pipeline` | `spec.tasks[].conditions[].params[].value` |
| `Pipeline` | `spec.results[].value` |
| `Pipeline` | `spec.tasks[].when[].input` |
| `Pipeline` | `spec.tasks[].when[].values` |

0 comments on commit 42ca2bc

Please sign in to comment.