![]() |
|
|
|
|
Change By:
|
Francis Labrie
(10/Jul/12 5:57 PM)
|
|
Description:
|
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
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|