-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2
-
False
-
-
False
-
-
-
3
-
Pipelines Sprint 257, Pipelines Sprint Pioneers 2
Description of problem:
pipelineRun does not get triggered on push events when I use
annotations:
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" && target_branch == "[refs/heads/*]" &&
(
"**/staging/**".pathChanged()
)
However CI gets triggered when we specify the exact branch.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Create a simple pipelineRun specifying the target branch with refs inside on-cel-expression.
Actual results:
Expected results:
CI should get triggered with `ref/heads/*`
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
Running on ocp 4.12
Setup pac using latest openshift-pipelines operator