[Buildbot-devel] adding an html logfile

Derek Graham (ML) derek.m.graham+ml at gmail.com
Tue Aug 31 16:48:59 UTC 2010


Sorry I though you meant to override the function. Ok, I've done that
(called addHTMLLog from evaluateCommand) and passed in a option to my
subclass to specify the file name, however, how do I get the full path of
the buildslave from inside my subclass (I want to open the HTML file in
evaluateCommand)? workdir is the relative path and if I pass in the absolute
directory as an argument then it fails saying that the file doesn't exist (I
checked that it does as I copied the file path from the error text to the
console -- maybe it evaluates this on the buildmaster machine?).

Thanks again,

d

On 31 August 2010 15:52, Dustin J. Mitchell <dustin at zmanda.com> wrote:

> On Tue, Aug 31, 2010 at 6:24 AM, Derek Graham <derek.m.graham at gmail.com>
> wrote:
> > What would the subclassed function look like? Here's the one from
> BuildStep:
>
> You'd subclass the *class*, and *call* addHTMLLog from some other
> method in your subclass, e.g., evaluateCommand.
>
> Dustin
>
> --
> Open Source Storage Engineer
> http://www.zmanda.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100831/a61f9085/attachment.html>


More information about the devel mailing list