[Buildbot-devel] Using addHTML log without links being generated?

Axel Hecht l10n.moz at googlemail.com
Thu Mar 5 11:09:00 UTC 2009


I'd suggest to use a DirectoryUpload step to get the logs from the slave to
the public_html dir of the master, possibly into a builder/step dependent
subdir, http://djmitche.github.com/buildbot/docs/0.7.10/#Transferring-Files.
And then just addURL. You might be able to do that by just subclassing
DirectoryUpload and to self.step_status.addURL in finished.

Sounds like a nifty idea for an RFE to directory upload to do that anyway.

Axel

2009/3/5 Janne Härkönen <janne.t.harkonen at gmail.com>

> Hello,
>
> I am investigating the possibility of using BuildBot as a Continuous
> Integration system for Robot Framework (http://robotframework.org).
> The build process of RF has these steps:
> 1) SVN update
> 2) build and install
> 3) execute acceptance tests (~1500 RF tests to test RF :) )
> 4) upload the test results to master
> 5) generate HTML reports based on test results and publish them
>
> It has been a pleasure to work with BuildBot and I have been able to
> implement all the steps successfully.
> However, I have one question related to HTML logs supported by BuildBot.
>
> RF generates two HTML files based on the results, a report and a log file.
> The log file contains all the details of the test execution and can
> grow quite big and be unwieldy in the browser.
> For this reason RF supports spitting the log file in a hierarchy of
> log files, so that the top level log contains relative links to
> sub-log files.
> In our own acceptance tests, we use this mechanism and this currently
> results in ~90 log files.
>
> I would like to be able to store all these to the build result, but so
> that the waterfall view would only contain links to the report and
> top-level log.
> So, in essence, I'd like to able to call BuildStep.addHTMLLog in a way
> that the data would be stored, but a link would not be generated.
> I have attached a screen capture to visualize the problem.
>
> Do you have any suggestion how this could be accomplished?
>
> best regards,
> Janne Härkönen
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090305/4759443e/attachment.html>


More information about the devel mailing list