Drone command stream exists after 1st command

For some reason, running gradle as a command step exits the command sequence upon exit of gradle execution.

Any idea why?

I have tried all manner of bash interventions (gradle build || echo “foo” for example) but no matter what I do, we keep getting truncation of cammands and successful execution of the step.