[Buildbot-devel] env dict passed to Source steps ignored in buildslaves?

Jorge Gonzalez gjorge at google.com
Tue Apr 24 16:38:57 UTC 2012

Hi list,
I was just trying to set up the PATH env variable for a source step, but it
didn't seem to have an effect at runtime, based on what the logs showed.

Correct me if I'm wrong, but it seems to me like the env dictionary passed
to subclasses of buildbot.steps.source.oldsource.Source is being ignored on
the slave-side's buildslave.commands.base.SourceBaseCommand.setup(). In
particular, it's doing "self.env = os.environ.copy()" and completely
ignoring what was passed to it.

Assuming this is what's causing my own env to be ignored, is there a good
reason for this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120424/157d6283/attachment.html>

More information about the devel mailing list