[Buildbot-devel] sourcing env vars from file

David Tucker david.tucker at schange.com
Fri Sep 28 23:42:02 UTC 2012


Hi all, I have a master.cfg question.  Our existing build linux process requires developers to "source" a config script in their shell to set up the build environment,
basically it's just a file with a bunch of "export" statements.  I can't figure out how to get this into our build factory.

I've tried everything I can think of, the most obvious being:

	factory.addStep(Configure(command=["source","setEnv1.sh"]))  

But that doesn't seem to work.

I can use env={} to set each env var individually but that seem problematic.  ( and there are lots to set )  I really want the buildslave to use
the same setup that the developers use so that when it changes the buildbot will change as well.

Any ideas?

dave



More information about the devel mailing list