rundeck-plugins / kubernetes

51 stars 59 forks source link

stderr breaks the script step #43

Closed hdimitriou closed 4 years ago

hdimitriou commented 5 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?

tholok97 commented 4 years ago

Maybe introduce a "fail script on stderr" option?

ltamaster commented 4 years ago

it should be fixed with https://github.com/rundeck-plugins/kubernetes/pull/51