I'm trying to run a Pentaho job in a remote system using airflow. I was able to use airflow's SSH operator to SSH into remote system and run the shell script but I'm wondering how to pass parameters to the shell script.
For example the shell command looks like
sh -C "$PENT_HOME"/kitchen.sh -file="$PENT_HOME/Details.kjb" -level=Basic > $logFolder/date -u +"%Y-%m-%dT%H:%M:%SZ"
-Details.log 2>&1
My DAG script for running a simple shell script without parameters is
t1 = SSHOperator(ssh_conn_id='SSH-dev',
task_id='ssh_operator',
command='/opt/scripts/test.sh ',
dag=dag)