Skip to content

Commit

Permalink
update variables.md to reflect the behavior after tektoncd#1522 is re…
Browse files Browse the repository at this point in the history
…solved.
  • Loading branch information
R2wenD2 committed Jun 26, 2020
1 parent c42657b commit 374ca63
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 @@ -14,6 +14,7 @@ This page documents the variable substitions supported by `Tasks` and `Pipelines
| -------- | ----------- |
| `params.<param name>` | The value of the parameter at runtime. |
| `tasks.<taskName>.results.<resultName>` | The value of the `Task's` result. Can alter `Task` execution order within a `Pipeline`.) |
| `context.pipelineRun.name` | The name of the `PipelineRun` that this `Pipeline` is running in. |

## Variables available in a `Task`

Expand All @@ -27,6 +28,7 @@ This page documents the variable substitions supported by `Tasks` and `Pipelines
| `workspaces.<workspaceName>.claim` | The name of the `PersistentVolumeClaim` specified as a volume source for the `Workspace`. Empty string for other volume types. |
| `workspaces.<workspaceName>.volume` | The name of the volume populating the `Workspace`. |
| `credentials.path` | The path to the credentials written by the `creds-init` init container. |
| `context.taskRun.name` | The name of the `TaskRun` that this `Task` is running in. |

### `PipelineResource` variables available in a `Task`

Expand Down

0 comments on commit 374ca63

Please sign in to comment.