[Buildbot-devel] Processing a log file to create a HTMLLog in a custom BuildStep

Matt Williams lists at milliams.com
Thu Jan 30 19:54:19 UTC 2014


Hi all,

I've just started using Buildbot and I'm liking it a lot so far but
I'm having a problem I was hoping I could get some help with.

I am building a C++ project and running unit tests on it. I'm using a
test framework which outputs XML information about the tests and saves
this as a log file.

Inspired by http://blogs.igalia.com/itoral/2007/02/13/howto-integrate-unit-tests-with-buildbot/,
I've written some code which can convert that XML into a nice HTML log
file which, in a custom BuildStep, I can addHTMLLog().

The problem I am having is that the BuildStep runs on the master and
so can't directly access the log file on the slave. I guess the
simplest way to solve this would be to move the log file over to the
master and parse it there but I can't work out how to do that.

Could anyone give me some pointers on the best way to tackle this problem.

Regards,
Matt Williams




More information about the devel mailing list