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
IMO this is unexpected as this could be interpreted as the actual value (but i guess this is open for discussion). It however is for sure not consistent with the behavior of the task run which for this case does not include the result at all.
Yeah I agree, this should be viewed as a bug and behaviour should match that of TaskRuns. We haven't specified the scenario in our docs when a failure occurs so I think we should go ahead and make the behaviour match between PipelineRun <-> TaskRun.
Hi,
we have a task that emits a result and a pipeline that propagates the task result using (https://github.com/tektoncd/pipeline/blob/master/docs/pipelines.md#emitting-results-from-a-pipeline). In case the task failed, the PipelineRun contains the pipelineResult with the template string as a value, in this example
$(tasks.print-date.results.current-date-unix-timestamp)
IMO this is unexpected as this could be interpreted as the actual value (but i guess this is open for discussion). It however is for sure not consistent with the behavior of the task run which for this case does not include the result at all.
What do you think about this?
Here is the pipeline and task definition that i used:
The text was updated successfully, but these errors were encountered: