[Buildbot-devel] adding an html logfile

Philip Winston pwinston at gmail.com
Fri Jan 30 21:21:53 UTC 2009


Our build process generates a file called "summary.html".  We want this to
be linked to the waterfall display below "stdio".
I was able to get this working by adding the line:    logfiles = { 'summary'
: "summary.html" }
to my BuildStep.  Then add a createSummary method which does:
    html = self.getLog('summary').getText()
    self.addHTMLLog('summary_html', html)

It works but gives me 2 links "summary" and "summary_html" and the non-HTML
one is useless, since it contains html.

Is there a way to get only a single link to the HTML log file?

Ideally it should show up only at the end of the buildstep, because it's
empty until then.

I see it's possible to transfer a file in a separate buildstep, but I'd like
this link to be in my current step.

Thanks.

-Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090130/4eeaadab/attachment.html>


More information about the devel mailing list