[Buildbot-devel] adding an html logfile

Dustin J. Mitchell dustin at zmanda.com
Wed Sep 1 14:16:10 UTC 2010


On Wed, Sep 1, 2010 at 4:39 AM, Derek Graham (ML)
<derek.m.graham+ml at gmail.com> wrote:
> This leads me back to passing the HTML file as a logfile so I can grep it to
> determine the return value of evaluateCommand. When the user clicks on the
> link on the waterfall display, I want the HTML file to render as such, not
> text. So I can call addHTMLLog with the text of the logfile, but this gives
> me two links: one to the text of the HTML and one that renders the HTML. I
> don't need the former, so how do I delete it (or this link) in my own
> BuildStep?

I think this is probably the best solution.  Currently, there's no
method to delete a logfile, but that would be a good addition.  Do you
want to make that change and send the patch along?

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list