[Buildbot-devel] Logfile using WithProperties and absolute file name?
macke at yar.nu
Fri Feb 19 12:36:18 UTC 2010
On 2010-02-16 17:09, Marcus Lindblom wrote:
> I'm trying to track a logfile that's not in a dir relative to the
> build-dir but accessible via a property (it's really an.
> (we support having the build-output on a separate partition, hence
> relative to-build-dir isn't possible)
> Have anyone tried to do this or should I try something differently?
I solved it with a custom buildstep that adds the HTML log in
However, it seems hard/impossible to add a HTML logfile. the
addHTMLLog() function takes the content directly, not a filename.
What I did was to record the html as text during the step, but in
createSummary I pass it's contents to addHTMLLog and remove the original
I'll have to figure out a way to do this better. Ideally, I should just
be able to do addLog('name', file, html=true) and get an incremental
HTML file too.
More information about the devel