[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[dash-dev] Build failed, but Hudson reports Success? (was Re: Hudson lost most projects)
|
- From: Nick Boldt <nickboldt@xxxxxxxxx>
- Date: Mon, 19 Oct 2009 02:07:34 -0400
- Delivered-to: dash-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:cc:content-type; bh=x0jCnxtnKys2uyZ8GIwJVOTTnmhgm4kY+czk3f7TnTo=; b=OcJFTbu8eB2ri5PYPidpCMSkuyIQXbaRI4mPdI2sHijnrQg7YrY6Nx+T2btI+d4zT+ BJZyvLkkX0YgGVSF7rfNCqPoC68iXcIzVU6egdWCFUnWI4k2+F2/J0jewv4iEJrXz0nn rqPX1qUIWZ57HLoBfkvwtSHUKLjz/gjoCaLTc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=n2OEwTsoPxsaaD5u27buYq19XRT5qmR3eBqbeRLsAiJ+yYGAlQFZXoiWxObYbedsp5 h1rw74AX8VrlpgbzAjHD5KKeUtTlkJR3QN9XVm2Bji06QMiu5+cpdg/T58HQlY5xRjWv vrI5f6Rc+HL15ox14DOH017uy2gjt7b0soXwM=
You can configure your job to parse the log looking for strings that
mean "failure"; I'm not sure why your job fails then is deemed
successful... that seems like a wrapping problem (error codes not
being passed up from eclipse/ant to bash to Hudson).
Perhaps Dave's 'run in Ant' [1] instead of 'run in Bash' approach will
get around this problem?
[1]http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Hudson#ANT_build_Alternative_Configuration
If so I'll update the build job template so that everyone can benefit
from this better, simpler approach.
Nick
On Fri, Oct 16, 2009 at 4:08 PM, Gunnar Wagenknecht
<gunnar@xxxxxxxxxxxxxxx> wrote:
> Nick Boldt schrieb:
>> My fault. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=292476
>
> Ah ok, BTW the runPackager stuff works now. However, failed builds show
> up as successful in Hudson. Not sure what changed.
>
> Check this output:
> https://build.eclipse.org/hudson/me/my-views/view/Gyrex/job/cbi-gyrex-nightly/20/console
>
> It says "BUILD FAILED" and down below "Finished: SUCCESS".
>
> -Gunnar
>
>
>
>
> --
> Gunnar Wagenknecht
> gunnar@xxxxxxxxxxxxxxx
> http://wagenknecht.org/
>
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
Release Engineer :: Dash Athena
http://nick.divbyzero.com