Re: [workflow plugin] sh hangs when setting env.PATH

2015-02-24 Thread Scott Armit
Opened a Jira issue: https://issues.jenkins-ci.org/browse/JENKINS-27105 On Tuesday, February 24, 2015 at 11:42:05 AM UTC-5, Scott Armit wrote: > > Even on a separate node, the 'env' will cause the 'sh' task to hang. For > example, I have a windows slave and

Re: [workflow plugin] sh hangs when setting env.PATH

2015-02-24 Thread Scott Armit
Even on a separate node, the 'env' will cause the 'sh' task to hang. For example, I have a windows slave and master: node('windows-doc') { echo "On my Windows slave" env.PATH = "C:\\Program Files (x86)\\MadCap Software\\MadCap Flare V10\\Flare.app;%PATH%" } node('master') { echo "On

[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

Re: [workflow-plugin] clean after checkout in GenericSCM step

2015-02-18 Thread Scott Armit
I've been hitting this as well. That doesn't help you solve it, however. I'm starting to think Workflow Plugin 1.1 is not ready for prime time. I hit a lot of bogus items. On Tuesday, February 3, 2015 at 6:32:23 AM UTC-5, Timur Batyrshin wrote: > > Hi all, > > > How should I clean the checkout