-
Bug
-
Resolution: Not a Bug
-
Blocker
-
Pipelines 1.15.0
-
None
-
False
-
None
-
False
-
-
Description of problem:
Pipeline run fails immediately when a pipeline tries to export result of a resolver task. When I remove "results" section of pipeline, git repository is cloned successfully.
Prerequisites (if any, like setup, operators/versions):
Pipelines 1.15.0
Steps to Reproduce
# run the following pipeline
apiVersion: tekton.dev/v1 kind: Pipeline metadata: name: git-clone-result spec: workspaces: - name: shared-workspace tasks: - name: clone-git-repo taskRef: resolver: cluster params: - name: kind value: task - name: name value: git-clone - name: namespace value: openshift-pipelines workspaces: - name: output workspace: shared-workspace params: - name: URL value: https://github.com/ppitonak/nocode - name: SUBDIRECTORY value: "git-clone" - name: DELETE_EXISTING value: "true" - name: REVISION value: master results: - name: commit value: $(tasks.clone-git-repo.results.commit)
Actual results:
Failed to resolve pipeline result reference for "git-clone-result-b44567" with error %!w(*fmt.wrapError=&{invalid pipeline result "commit": "commit" is not a named result returned by pipeline task "clone-git-repo" 0xc0034c7ec0})
Expected results:
git repository is cloned successfully
Reproducibility (Always/Intermittent/Only Once):
Always