[Buildbot-devel] adding an html logfile

Derek Graham derek.m.graham at gmail.com
Tue Aug 31 11:24:37 UTC 2010


Thanks Dustin.

What would the subclassed function look like? Here's the one from BuildStep:

   def addHTMLLog(self, name, html):
      log.msg("addHTMLLog(%s)" % name)
      self.step_status.addHTMLLog(name, html)
      self._connectPendingLogObservers()

Perhaps, the last line has to be moved somewhere else?

-- 
d

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

> On Fri, Aug 27, 2010 at 5:48 AM, Derek <derek.m.graham+ml at gmail.com<derek.m.graham%2Bml at gmail.com>>
> wrote:
> >   3. .addHTMLLog() straight on the step, but I get errors too because I
> think
> > it's too early
>
> This is correct.  If you want to use addHTMLLog, you'll need to
> subclass ShellCommand.
>
> Dustin
>
> --
> Open Source Storage Engineer
> http://www.zmanda.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100831/6ad84ac4/attachment.html>


More information about the devel mailing list