Xcode plugin: Can't use environment variable in "Custom xcodebuild arguments" field

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: xcode-plugin
    • None
    • Environment:
      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:

            Assignee:
            Francis Labrie
            Reporter:
            Francis Labrie
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: