Closed hdimitriou closed 4 years ago
Using the script step to execute on a pod, I noticed that even though the commands returned with exit code 0, the job failed.
I isolated the issue to commands that write to stderr without failing, like 'git clone' or even 'set -x'
I would understand the logic, but shouldn't be a way around this?
Maybe introduce a "fail script on stderr" option?
it should be fixed with https://github.com/rundeck-plugins/kubernetes/pull/51
Using the script step to execute on a pod, I noticed that even though the commands returned with exit code 0, the job failed.
I isolated the issue to commands that write to stderr without failing, like 'git clone' or even 'set -x'
I would understand the logic, but shouldn't be a way around this?