[Buildbot-devel] addHTMLLog still escaping spans

Adam Daughterson Adam.Daughterson at dothill.com
Mon Apr 11 21:05:50 UTC 2011


I have been toying with the addHTMLLog method and cannot seem to get buildbot to quit escaping the html being output by the script which is passed into ShellCommand.

Just to be sure I am not missing something completely obvious:

In my master.cfg I have overridden createSummary() with
    def createSummary(self, log):
    html = self.getLog('fooya').getText()
    self.addHTMLLog('fooya.html', html)

In my buildstep, I have specified that I want to use the fooya log:
    f1.addStep(ShellCommand(command=["bash", "/somedir/scriptWhichEmitsHTMLOutput.sh"],
                                      workdir="/somedir",
                                      logfiles={'fooya':"fooya.html"}))

...and all the spans (especially the nice red/green PASS/FAIL ones) are completely ignored.

Thanks,

Adam




More information about the devel mailing list