-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Hudson 1.376 on Windows 2003 Server with Tomcat 6.
If Ant build steps take properties with an %, the next char is enclosed in quotes in a 'fancy' way:
$ cmd.exe /C '"C:\ant\apache-ant-1.7.1\bin\ant.bat "-Dhudsonhome=%"H"UDSON_HOME%" && exit %%ERRORLEVEL%%"'
The property should be "-Dhudsonhome=%HUDSON_HOME%"
This worked with Hudson 1.365
- is related to
-
JENKINS-7657 Ant properties escaping breaks url parameter for jsunit build
-
- Resolved
-
-
JENKINS-7108 Running a parametrized build with Copy Artifact's Build Selector breaks Ant functionality on Windows
-
- Resolved
-
[JENKINS-7442] Ant build steps with properties including variables are broken
Link |
New:
This issue duplicates |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link |
Original:
This issue duplicates |
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
I can confirm this. I've just updated from 376 and its broken %BUILD_ID% and %BUILD_NUMBER%
ant runs as
cmd.exe /C '"ant.bat -file build.xml "-DBUILD_ID=%"B"UILD_ID%" "-DBUILD_NUMBER=%"B"UILD_NUMBER%" release && exit %%ERRORLEVEL%%"'