Skip to content

Commit

Permalink
updating doc for using finally in pipeline results
Browse files Browse the repository at this point in the history
Recently Scott fixed the bug in which pipeline results emitted the
result reference variable as is in case of a missing result. Updating the doc
to reflect those changes when a result reference from finally is used in
pipeline result.
  • Loading branch information
pritidesai authored and tekton-robot committed Feb 8, 2021
1 parent b7a5fc3 commit 438597d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -1069,16 +1069,8 @@ Final tasks can emit `Results` but results emitted from the final tasks can not
value: $(finally.check-count.results.comment-count-validate)
```

In this example, `PipelineResults` is set to:
In this example, `pipelineResults` in `status` will exclude the name-value pair for that result `comment-count-validate`.

```
"pipelineResults": [
{
"name": "comment-count-validate",
"value": "$(finally.check-count.results.comment-count-validate)"
}
],
```

## Using Custom Tasks

Expand Down

0 comments on commit 438597d

Please sign in to comment.