We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a Pipeline defined with multiple Conditions in one Task like this:
Pipeline
Condition
Task
apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: list-files-pipeline spec: resources: - name: source-repo type: git params: - name: path default: "README.md" - name: test-path default: "README.mdxxx" - name: image default: "alpine" tasks: - name: list-files-1 taskRef: name: list-files conditions: - conditionRef: "file-exists" params: - name: path value: "$(params.path)" - name: image value: "$(params.image)" resources: - name: workspace resource: source-repo - conditionRef: "file-exists" params: - name: path value: "$(params.test-path)" - name: image value: "$(params.image)" resources: - name: workspace resource: source-repo
I expect the first condition which check "README.md" will be success and the second one for "README.mdxxx" will failed, but all of them are failed.
I checked the Taskruns generated, found inputs.params is all about "README.mdxxx" like this:
Taskrun
inputs.params
spec: inputs: params: - name: path value: README.mdxxx
The first condition for "README.md" will success, The second one for "README.mdxxx" will failed
condition
All the two generated Taskrun are failed.
The text was updated successfully, but these errors were encountered:
/cc @dibyom /kind bug
Sorry, something went wrong.
No branches or pull requests
I have a
Pipeline
defined with multipleCondition
s in oneTask
like this:I expect the first condition which check "README.md" will be success and the second one for "README.mdxxx" will failed, but all of them are failed.
I checked the
Taskrun
s generated, foundinputs.params
is all about "README.mdxxx"like this:
Expected Behavior
The first
condition
for "README.md" will success,The second one for "README.mdxxx" will failed
Actual Behavior
All the two generated
Taskrun
are failed.Additional Info
The text was updated successfully, but these errors were encountered: