[Buildbot-devel] Fail to set builder environnement variables in solaris

Jeremy Cornett jeremy.cornett at venafi.com
Tue Feb 4 22:48:37 UTC 2014

I run a Solaris buildslave with environment variables. I have no issues with it. You may have issues with trying to pass the Path environment variable though. I’m also not sure how passing an environment variable will work if there is a variable already there with that name…  Because you’re not setting variables that are specific to your master configuration, I would just create/edit the environment variables on the buildslave directly. If you do though, don’t forget to restart the slave process, so it’ll pick up the new environment variables.

# Agent Solaris 8
# The current version of git (1.7.0) on the Solaris box does not support the --progress switch for the fetch command (9/14/2012).
        name = AgentSol8,
        slavename = 'BuildBotSlave17',
        factory = CreateAgentFactory(OS="Sol8", Progress=False),
        locks = [lockAgentSol8],
        env={'BUILDERNAME' : AgentSol8, 'PROJECTBASE': 'Agent/build'}))


From: Dustin J. Mitchell [mailto:dustin at v.igoro.us]
Sent: Tuesday, February 04, 2014 3:32 PM
To: Yasser LEBON
Cc: Buildbot Devel
Subject: Re: [Buildbot-devel] Fail to set builder environnement variables in solaris

What does happen?
On Feb 4, 2014 10:17 AM, "Yasser LEBON" <yasser.lebon at gmail.com<mailto:yasser.lebon at gmail.com>> wrote:

I need to add some environment variables on my builder. It works well in linux platform but not in solaris.

builder_solaris = BuilderConfig(
        env = {
            'JAVA_HOME': '/usr/local/jdk1.6.0_21',
            'PATH': '/usr/local/bin:/usr/local/maven/bin:${PATH}'

Have you already faced with this problem? Thanks.


Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
Buildbot-devel mailing list
Buildbot-devel at lists.sourceforge.net<mailto:Buildbot-devel at lists.sourceforge.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140204/0d5a4f96/attachment.html>

More information about the devel mailing list