[Buildbot-devel] $HOME missing in steps' environment

Dan Kegel dank at kegel.com
Sat Nov 3 01:17:32 UTC 2012


Oh, my, yes.  When I run buildbot under upstart, just about every
environment variable is missing.

In my wrapper script, I end up doing things like

if test "$LOGNAME" = ""
then
    # Upstart jobs don't set traditional variables.
    BUILDUSER=`id -nu`
    BUILDUSERHOME=`eval echo ~$BUILDUSER`
else
    BUILDUSER=$LOGNAME
    BUILDUSERHOME=$HOME
fi



On Fri, Nov 2, 2012 at 6:01 PM, Jorge Gonzalez <gjorge at google.com> wrote:

> I'm running 8.6, and in just one ubuntu host out of many equally
> configured ones, all steps are missing the HOME variable from their
> environment.
>
> Has anyone ever run into something like this?
>
> Jorge
>
>
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20121102/3513e30f/attachment.html>


More information about the devel mailing list