I’d like to add a step in my drone build that checks a command wrote nothing to stderr
For instance lein :deps tree
I tried to add the folllowing to the commands array
you might have better luck on stackoverflow where you will find some true shell scripting experts. I am not sure about number comparison, but if you want to fail a build step you would exit 1 (or any exit code greater than zero).