[Buildbot-devel] cat logfiles on build failure

Nathaniel Smith njs at pobox.com
Fri Feb 24 19:51:30 UTC 2006

On Fri, Feb 24, 2006 at 07:03:48PM +1100, Simon Burton wrote:
> Right now as a workaround I do this:
> f = factory.BuildFactory(
>   [
>     source,
>     s(step.Compile, command="nice ./make.py; cat build.log;"),
>   ],
> )
> Which always comes up green on the html display.

The Lame Hack(tm) that we use is:
  command="make check || (cat testsuite.log; false)"

So if the 'make check' succeeds, nothing else happens, if it fails,
then the log is dumped to stdout and then the overall command still

-- Nathaniel

In mathematics, it's not enough to read the words
you have to hear the music

More information about the devel mailing list