-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Ubuntu 12.04 x86
If system-wide environment variables have been set via /etc/environment those are not accessible if they exist in lower-case and capital case letters. Jenkins combines both variables into a single one, and updates the first detected variable with the value of the second one. Here some examples:
Example 1:
/etc/environment
http_proxy=http://proxy.dmz.example.org:8080
HTTP_PROXY=http://proxy.dmz.example.org:8080
-> Jenkins:
HTTP_PROXY=http://proxy.dmz.example.org:8080
Example 2:
Shell:
export test=1
export TEST=2
-> Jenkins
TEST=1
Jenkins should not modify set environment variables because it will cause problems with tools which rely on the right capitalization. One example is mercurial which needs the lower case version of the proxy configuration. It will no longer work when both variables are set.
- causes
-
JENKINS-46379 withEnv mess with Job parameter (not case sensitive)
- Closed
- depends on
-
JENKINS-20280 Support nested variable expansion
- Closed
- is duplicated by
-
JENKINS-47217 Environment variables and case-sensitivity
- Resolved
-
JENKINS-34744 Node environment variables case insensitive
- Closed
- is related to
-
JENKINS-19926 SSH not found in Jeninks version > 1.532
- Resolved
-
JENKINS-968 Running shell script broken - was: Net build fails due to douple PATH enviroment Variable
- Closed
-
JENKINS-34744 Node environment variables case insensitive
- Closed
-
JENKINS-20280 Support nested variable expansion
- Closed