Hi
I have defined a parameter like now in .config.yml
context_id:
type: string
default: ""
now in one of the job i am trying to assign to some jq json filtered value to this parameter so that i can use this variable later
- run:
name: check
command: |
jq -r 'values.id' /tmp/output.json >> ${context_id} \
echo ${context_id} \
Error:
#!/bin/bash -eo pipefail
jq -r 'values.id' /tmp/output.json >> ${context_id} \
echo ${context_id} \
cat /tmp/output.json
/bin/bash: ${context_id}: ambiguous redirect
Exited with code exit status 1
CircleCI received exit code 1
Please help