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

Amber Yust ayust at yelp.com
Fri Mar 16 20:20:45 UTC 2012


Dynamic creation of buildsteps *during the build* is unlikely to happen any
time soon.

~Amber

On Fri, Mar 16, 2012 at 1:14 PM, Jarod McBride <jmcbride at apple.com> wrote:

> So let's say I have a project that has a list of components in it.
>  There's a folder for each component and a set of unit tests.  Each
> component's test can be run by calling...
>
> phantomjs foo/build/scripts/jasmineRunner.js http://localhost:4020/"component name"/current/en/tests/unit.html
>
>
> So I'd like to have a step that looks at how many components there are in
> the git checkout, then creates a buildstep for each component and runs that
> unit test based on the name of the component folder.  Like I said, I can
> pawn the work off to a shell script to do it but then I don't get the same
> level of reporting or control in buildbot over those individual steps.
>
> Is this possible now or can BuildBot gain a feature to make this sort of
> thing happen?
>
> jarod
>
>
>
> Date: Fri, 16 Mar 2012 01:42:10 +0200
> From: Dmitry Nezhevenko <dion at dion.org.ua>
> Subject: Re: [Buildbot-devel] Determining steps based on what's
> checked out...
> To: buildbot-devel at lists.sourceforge.net
> Message-ID: <20120315234210.GB23474 at laptop.local>
> Content-Type: text/plain; charset="us-ascii"
>
>
> 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
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> 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/20120316/96b7d253/attachment.html>


More information about the devel mailing list