Re: Failing a build from within BuildWrapper setUp

2014-10-02 Thread Stuart Rowe
Thanks! I saw that in the javadoc, but misinterpreted it as meaning that the build would be marked as "aborted". On Wednesday, 1 October 2014 23:15:09 UTC-7, Vincent Latombe wrote: > > From the javadoc: > > public BuildWrapper.Environment >

Re: Failing a build from within BuildWrapper setUp

2014-10-01 Thread Vincent Latombe
>From the javadoc: public BuildWrapper.Environment setUp(AbstractBuild build, Launcher

Failing a build from within BuildWrapper setUp

2014-10-01 Thread Stuart Rowe
Hi, Does anyone how to cause a build to fail during BuildWrapper setUp? For my purposes I want to be able to detect situations during this setup where the build shouldn't continue. Is this possible? I've tried setting the buildResult on the AbstractBuild object passed into setUp. This successf