[Buildbot-devel] Environment variables manipulation
Dustin J. Mitchell
dustin at zmanda.com
Mon Feb 8 23:29:23 UTC 2010
On Thu, Feb 4, 2010 at 5:11 PM, Gianluca Sforna <giallu at gmail.com> wrote:
> is there a way to access environment variables in a buildstep? For
> example, how could I add a directory to PATH?
> Another example, what if I'd like to create a QMAKE variable as
Buildbot runs a new shell for every step (well, not even that - it
only runs a shell if the step has a string for command=; if the
command is a list, it just executes it directly), so there's no sense
of "changing" an environment variable - any such change would be lost
when the shell exited.
You can use buildbot's env dictionary to set environment variables,
but there's currently no way to append to or otherwise "adjust" an
existing environment variable.
Open Source Storage Engineer
More information about the devel