Hudson 1.376 on Windows 2003 Server with Tomcat 6.
The property should be "-Dhudsonhome=%HUDSON_HOME%"
[FIXED JENKINS-7442] Fix expansion of EnvVars in ant properties.
env, properties against buildVariables, and targets against both.
Now merging buildVariables into env and applying to all.
type references by default (can now be done by passing "true" parameter).
This restores ability to use %VAR% references for ant build steps on windows.
SCM/JIRA link daemon added a comment - 2011-09-12 02:45 Code changed in jenkins User: alanharder Path: changelog.html core/src/main/java/hudson/util/ArgumentListBuilder.java core/src/test/java/hudson/util/ArgumentListBuilderTest.java test/src/test/java/hudson/tasks/AntTest.java war/src/main/webapp/help/ant/ant-properties.html http://jenkins-ci.org/commit/jenkins/3bd3ff9b572391606300f1ecfcad3eb62792d32d Log: [FIXED JENKINS-7442] Change ArgumentListBuilder.toWindowsCommand() to not escape %VAR% type references by default (can now be done by passing "true" parameter). This restores ability to use %VAR% references for ant build steps on windows.
SCM/JIRA link daemon added a comment - 2011-09-12 02:45 Code changed in jenkins User: alanharder Path: changelog.html core/src/main/java/hudson/util/ArgumentListBuilder.java core/src/test/java/hudson/util/ArgumentListBuilderTest.java test/src/test/java/hudson/tasks/AntTest.java war/src/main/webapp/help/ant/ant-properties.html http://jenkins-ci.org/commit/jenkins/c4590529f731ba30b5deb0961d73f76e35ab70ff Log: [FIXED JENKINS-7442] Change ArgumentListBuilder.toWindowsCommand() to not escape %VAR% type references by default (can now be done by passing "true" parameter). This restores ability to use %VAR% references for ant build steps on windows.