[Buildbot-devel] Clean environment on build slaves

Dustin J. Mitchell dustin at v.igoro.us
Tue Oct 11 19:47:09 UTC 2011

On Tue, Oct 11, 2011 at 2:39 PM, Greg Ward <greg at gerg.ca> wrote:
> So I'd like to find a way to clean the environment of each build slave
> *or* of each build. Didn't see anything in the manual. We're currently
> running 0.7.12; we haven't had a good reason to upgrade to 0.8 yet,
> but I'm willing to do so if necessary.
> Best idea we've had so far is to hack something into the buildbot.tac
> file on each slave, but I don't like the idea of maintaining that hack
> on 5 slaves running 3 operating systems. I'd much rather have
> something under the control of master.cfg.

Probably the best solution is to start buildbot from a shell script
that sets the env explicitly.  You can also override all of the
"important" variables in every shell step, if that works better for


More information about the devel mailing list