I have a pipeline with following tasks.
- name: A
taskRef:
name: buildah-secondary-tag-task
runAfter:
- maven-prepare-package
when:
- input: "$(params.type)"
operator: in
values: ["app"]
- name: B
taskRef:
name: buildah-secondary-tag-task
runAfter:
- maven-prepare-package
when:
- input: "$(params.courtType)"
operator: in
values: ["bapp"]
- name: C
taskRef:
name: buildah-secondary-tag-task
runAfter:
- A
Task A and B are different depending on the params.type A or B is executed but Task C has to run after A or B has been exectued. How can I specify in the that condition in runAfter for task C