[Buildbot-devel] Determining steps based on what's checked out...

Dmitry Nezhevenko dion at dion.org.ua
Thu Mar 15 23:42:10 UTC 2012


On Thu, Mar 15, 2012 at 04:27:32PM -0700, Jarod McBride wrote:
> Greetings,
> 
> So We have a need to create a new feature into BuildBot.  We would like
> to be able to configure some build steps based on information that is
> complied after checking out a project from git.  We know there are ways
> around this by just pawning the work off to a shell script but we'd
> really like it to be a first class citizen of BuildBot's reporting and
> error handling.
> 
> We'd like to put some development time into the BuildBot project to make
> this happen but would need some guidance.  Has anyone put any time or
> thought into making this happen?  Is anyone will to help put some time
> into making this happen?  It seems like it could be a huge new feature
> for the project.

Some times ago I've tried to play with changing of existing build steps
during execution of another step. I can try to find some ugly patches, but
they are far from stable/working (and are based on buildbot 0.8.4).

What kind of configuration you are expecting? If it's just
enabling/disabling/customizing of predefined step, it should be possible
to do this out of the box with minimal changes to buildbot code. Just add
such steps with "doStepIf" parameter and use "WithProperties" for
parameters that needs to be adjusted. Then you'll need to write special
"configuration" step that will be executed just after checkout and set
parameters to some values based on checked out sources.

-- 
WBR, Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://buildbot.net/pipermail/devel/attachments/20120316/e4a5045f/attachment.bin>


More information about the devel mailing list