You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@alansenairj Are you changing the body from the original, if so, your Content-Length might be wrong which would cause the HTTP request reader to fail to parse the payload.
Expected Behavior
cel-eval -e expressiont.txt -r payload.json: true or false
Actual Behavior
error making eval context: failed to parse the body as JSON: unexpected end of JSON input
body.object_kind == 'push' && (body.ref == 'refs/heads/develop' || body.ref == 'refs/heads/staging')
or
object_kind == 'push' && (ref == 'refs/heads/develop'
payload file:
Steps to Reproduce the Problem
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
The text was updated successfully, but these errors were encountered: