|
||||||||
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... da...@gamehouse.com (JIRA)
- [JIRA] (JENKINS-1640) Environment vari... da...@gamehouse.com (JIRA)
- [JIRA] (JENKINS-1640) Environment vari... cow...@java.net (JIRA)
- [JIRA] (JENKINS-1640) Environment vari... vitor.peli...@gmail.com (JIRA)
I had the same problem: running Jenkins (ver 1.474) on windows.
FLEX_HOME is set in the environment but is not found when ant is called.
I saw failures such as "cmd.exe /c "ant.bat blah blah blah" in my failed build log.
I added "set FLEX_HOME=C:\flex_sdk_4.0.0.14159A" to my ant.bat.
This didn't work.
Then...I looked at the configuration for the Project/build.
and there it was:
I checked [x] "this build is parameterize"
I added "String Parameter" which let me set the name/value I wanted.
The build worked after that. No value pulled from the environment but I can set any String Parameter I want now.
It's tedious but it works.