[
https://issues.jenkins-ci.org/browse/JENKINS-12409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
gbois resolved JENKINS-12409.
-----------------------------
Resolution: Fixed
I think the EnvInject plugin
(https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin) should fix your
issue.
> please add a way to set a process environment variable in the Jenkins scons
> build step
> --------------------------------------------------------------------------------------
>
> Key: JENKINS-12409
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12409
> Project: Jenkins
> Issue Type: New Feature
> Components: scons
> Reporter: Jason Sachs
> Assignee: gbois
>
> I have a need to set environment variables specific to a scons build step. It
> is not used by Sconstruct itself, but by a python library which I call from
> scons, that accesses the environment variables.
> It needs to be outside the SConstruct file itself, because I use the same
> scons project outside of jenkins for manual builds.
> I have no way of accomplishing this, except to manage the global Jenkins
> configuration itself.
> (I'm also going to put in a request for this to be added at the Jenkins job
> level; it'd be nice if it could be added to the build step level for all
> types of build steps, but that seems like it might be hard because they are
> so different.)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira