Re: [workflow-plugin] Exit code from sh call

2015-02-26 Thread Jesse Glick
On Thursday, February 19, 2015 at 5:19:45 PM UTC-5, Scott Armit wrote: > > Does anyone know how to do this? > https://issues.jenkins-ci.org/browse/JENKINS-26133 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group an

[workflow-plugin] Exit code from sh call

2015-02-19 Thread Scott Armit
Hi. I've searched quite a bit without an answer. Using the new workflow plugin (Groovy CPS DSL) is it possible to retrieve the exit code from a 'sh' call? If this were a straight bash call via "Execute shell script" in a Freestyle job, I would just read $? and flow from there. For instance, per