|
||||||||
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 variables not passed through to Ant tasks
cassianol...@gmail.com (JIRA) Mon, 01 Oct 2012 11:20:56 -0700
- [JIRA] (JENKINS-1640) Environment variable... cassianol...@gmail.com (JIRA)
- [JIRA] (JENKINS-1640) Environment var... karlie.spam...@gmail.com (JIRA)
- [JIRA] (JENKINS-1640) Environment var... karlie.spam...@gmail.com (JIRA)
- [JIRA] (JENKINS-1640) Environment var... karlie.spam...@gmail.com (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