After upgrading to Rundeck 5.20.0; it looks like the ssj-ssh plugin no longer works with double-quoted commands in the job steps. For example, the following used to work:
<exec>sudo "sh /u01/scripts/sre/myscript.sh ${option.parm1}"</exec>We had to change it to the following in order for it to work:
With double-quotes, the job returns:
<exec>sudo sh /u01/scripts/sre/myscript.sh ${option.parm1}</exec>With double-quotes, the job returns:
[sudo] password for user1:
sudo: sh /u01/scripts/sre/myscript.sh userval1: command not found
[user1@serverxyz ~]$ echo $?
1
Note: This is on Oracle Linux 9 server.