[Buildbot-devel] Multi-buildsteps and output environments

Dustin J. Mitchell dustin at v.igoro.us
Thu Apr 25 01:45:07 UTC 2013


On Wed, Apr 24, 2013 at 8:40 PM, Ludovic Chabant <ludovic at chabant.com> wrote:
> Yeah, of course. I mean, it's just a script that sets environment variables.
> Nothing fancy. But everything else relies on those variables being set
> properly.
>
> So it sounds like the best course of action would be a subclass of
> ShellCommand that would automatically run the setup script first? Is there
> any documentation/tutorial/example about this kind of thing? Reading the
> source code, I'm a bit lost with all the factory arguments stuff and what's
> available when and how...

Well, as Dan said, probably better to do it in a script that's in the
source-code repository.  The problem with embedding build logic in
Buildbot is that (a) when it goes bad, your developers can't debug it
and (b) when it needs to change, you have to adjust the buildbot
config, rather than checking code into the repository.

Dustin




More information about the devel mailing list