|
||||||||
|
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 |
||||||||
- [JIRA] (JENKINS-1640) Environment variable... [email protected] (JIRA)

Same problem here. I have an ant task that uses ${env.HOSTNAME} to pick up a .properties file depending on the hostname of the machine.
It turns out that that specific variable doesn't expand, although many others do just fine.
I checked System Information, and HOSTNAME is correctly set under Environment Variables. Echoing the properties filename I get this, though:
[echo] /mnt/slave/workspace/Platform_develop_Build-Common/git/Common/${env.HOSTNAME}.build.properties