Have setup Option parameters in Webhook configuration and I could see that the values are available in Rundeck job.
But when I try to refer them in the scrip like below, it is throwing 'bad substitution' error.
echo ${option.host}
echo ${option.whkpayload}
I even tried to enclose them in single quotes(as mentioned in other threads), but that didn't work either.
echo '\${option.host}'
echo '\${option.whkpayload}'
I am using Rundeck version
:
3.4.4-20210920, can somebody help me resolve this issue as I am blocked ?