Two minutes after posting... https://issues.jenkins-ci.org/browse/JENKINS-26133
Looks as though there is no easy way to return output/status from a shell script instance. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/10efee2b-70e4-47a9-84c5-acce99a1c8cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.