[Buildbot-devel] Grouping steps (teething troubles writing a custom BuildStep)

Ellis Breen spacestation9 at googlemail.com
Wed Nov 5 09:12:35 UTC 2008


2008/11/5 Charles Lepple <clepple at gmail.com>

>
>
> Have you tried just concatenating the commands with '&&'? To make this
> work, you would have to use a single string (rather than a list of
> strings) to tell buildbot that you want the shell to interpret the
> command, e.g.:
>
> "test1 && test2 && test3"

Yes, that works fine, but I still wish to be able to view the individual
results of the tests separately.

>
>
> > I'm hacking around at the moment trying to create a 'GroupStep' class
> > (inheriting from the LoggingBuildStep class) . My current thinking is
> that I
> > might be able to create a 'sub-builder' in this class and then add builds
> to
> > that, which can in turn have steps added to them. Not sure how I'd
> monitor
> > the progress of such a buildstep, but hopefully it wouldn't be too
> > dissimilar to the way things work now.
>
> If you do go this route, it would be possible to update the waterfall
> after each sub-step has completed.
>
> I have some code to do this, but it's not handy at the moment.
>
Sounds useful - I may post again on the list should I need further
assistance with this, when I have the GroupStep implemented.

>
> > Is there any
> > additional developer documentation around?
>
> Have you seen the API documentation?
> http://buildbot.net/repos/release/docs/reference/index.html
>
Yes - already using this, thanks...

Ellis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20081105/600fc5cf/attachment.html>


More information about the devel mailing list