[Buildbot-devel] Chaining two commands in the Test build step
tom.prince at ualberta.net
Mon Oct 10 14:41:05 UTC 2011
On Mon, 10 Oct 2011 13:10:06 +0300, SZENTE Balint <balint at szentedwg.ro> wrote:
> I'm using the *Test* build step to run all the unit tests for a project.
> Basically it is just a shell command that runs a python script. This
> generates an XML report file.
> I would like to do the following:
> * insert somehow a RemoteCommand with uploadFile after the
> RemoteShellCommand is finished to get the XML report file in memory
You could probably do this by marking the file as a log file.
> * transform this XML data into HTML by XSLT
> * add as self.addHTMLLog('report', html_buffer) in order to display the
> HTML report (similar to normal plain text logs with the *logfiles*
This would probably best be done in createSummary.
More information about the devel