[Buildbot-devel] adding an html logfile
Dustin J. Mitchell
dustin at zmanda.com
Tue Aug 31 23:18:10 UTC 2010
On Tue, Aug 31, 2010 at 11:48 AM, Derek Graham (ML)
<derek.m.graham+ml at gmail.com> wrote:
> 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?).
Right - the step class runs on the buildmaster. You'll need to set
things up so that the slave transfers the file to the master - most
likely as a logfile, but you could also use the transfer steps.
Dustin
--
Open Source Storage Engineer
http://www.zmanda.com
More information about the devel
mailing list