[Buildbot-devel] html logfiles in step

David Froger david.froger.ml at mailoo.org
Fri Jul 3 15:00:15 UTC 2015


Hello,

I have a Test build step (from buildbot.steps.shell, buildbot 0.8.10), which as
an HTML file passed in the `logfiles` argument.

I would like the HTML file to be renderer as HTML, not "raw text", is it
possible?

The HTML file embeds png images (<img src="data:image/png;base64,...">).

It also contain <html>, <head>, <body>, <h1> etc, but I can adpat it.

Or do I have a write a new BuildStep and use addHTMLLog 
(http://docs.buildbot.net/0.8.12/manual/customization.html#writing-log-files)?

By the way, the RunCleanup example
(http://docs.buildbot.net/0.8.12/manual/customization.html#running-commands) is
not clear for me. There is a run method of the RunCleanup class, then a run
function. Is it a typo?

Thanks,
David




More information about the devel mailing list