[Buildbot-devel] append to addStep() 'env'

Dustin J. Mitchell dustin at zmanda.com
Wed Sep 17 23:04:19 UTC 2008


On Wed, Sep 17, 2008 at 2:41 PM, Ole Weidner <oweidner at cct.lsu.edu> wrote:
> this is probably a rather stupid question, but I couldn't figure out
> how to APPEND something to an environment variable (in my case
> LD_LIBRARY_PATH), using the 'env' parameter in factory.addStep().
> Could somebody help me out?

This isn't possible via the env parameter -- instead, you'll have to
use a shell command, e.g.,
  command="""LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/foo" mycommand"""

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com




More information about the devel mailing list