-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Mac OS X Server 10.7.4, Jenkins 1.473, Xcode Plugin 1.3.1
When we set environment variables in the "Custom xcodebuild arguments" field using a standard $ prefixed format ($VARIABLE or ${VARIABLE}), the Xcode Plugin doesn't substitute the variable placeholders with the current values.
For exemple, when I try to securely pass a password using the "Mask Passwords Plugin" (https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin), I get the literal placeholder as value instead of the masked password:
Custom xcodebuild arguments: TEST_PASSWORD=${TEST_PASSWORD}
Would it be possible to replace the variable placeholders in this field by the related environment variable values, please? Thank you very much.
Here are some solutions:
- hudson.Util.replaceMacro(...) Java methods in main Jenkins package;
- http://stackoverflow.com/questions/4752817/expand-environment-variables-in-text