Support Questions
Find answers, ask questions, and share your expertise

Oozie SSH action never goes to error to

Oozie SSH action never goes to error to

New Contributor

I have an SSH action which runs a shell script. Despite giving an "exit 1" and a "<capture-output/>" the SSH action always succeeds and moves to the next "ok to" action. How can I ensure that SSH action triggers "error to" action when it encounters an exit 1?