diff --git a/docs/pipelineruns.md b/docs/pipelineruns.md index 2e7224e55fd..65c57e5bac5 100644 --- a/docs/pipelineruns.md +++ b/docs/pipelineruns.md @@ -791,9 +791,8 @@ spec: image: busybox command: ["/bin/sh", "-c"] args: - - echo - # - $(params.uid) - - $(tasks.add-uid.results.uid) + - echo $(tasks.add-uid.results.uid) + # - echo $(params.uid) ``` On executing the `PipelineRun`, the `Results` will be interpolated during resolution. @@ -808,8 +807,7 @@ spec: taskSpec: steps: args: - echo - 1001 + echo 1001 command: - /bin/sh - -c @@ -830,8 +828,7 @@ status: taskSpec: steps: args: - echo - 1001 + echo 1001 command: /bin/sh -c diff --git a/examples/v1/pipelineruns/propagating_results_implicit_resultref.yaml b/examples/v1/pipelineruns/propagating_results_implicit_resultref.yaml index 35c086393c6..d0a16eae5ab 100644 --- a/examples/v1/pipelineruns/propagating_results_implicit_resultref.yaml +++ b/examples/v1/pipelineruns/propagating_results_implicit_resultref.yaml @@ -30,5 +30,4 @@ spec: image: busybox command: ["/bin/sh", "-c"] args: - - echo - - $(tasks.add-uid.results.uid) \ No newline at end of file + - echo $(tasks.add-uid.results.uid)