[Buildbot-devel] Logfile using WithProperties and absolute file name?

Marcus Lindblom macke at yar.nu
Fri Feb 19 12:36:18 UTC 2010


On 2010-02-16 17:09, Marcus Lindblom wrote:
> Hi,
>
> 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)
 >
[traceback nippes]
>
> 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 
computeSummary().

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 
file.

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.

Cheers,
/Marcus





More information about the devel mailing list