-
Bug
-
Resolution: Fixed
-
Blocker
-
None
when a parameter is empty, the task failed
Job OK (1.642.4)
[piil-ant-tests] $ cmd.exe /C '"C:\Tools\ant\apache-ant-1.9.4\bin\ant.bat -file piil_ant_tests_ext-deploy_release.xml -DPAT_INSTRUMENTED_WORKSPACE="" deploy_release -v && exit %%ERRORLEVEL%%"'
Job NOK (1.651.1):
[piil-ant-tests] $ cmd.exe /C "C:\Tools\ant\apache-ant-1.9.4\bin\ant.bat -file piil_ant_tests_ext-deploy_release.xml -DPAT_INSTRUMENTED_WORKSPACE= deploy_release -v && exit %%ERRORLEVEL%%"
- duplicates
-
JENKINS-33712 Empty parameterized build properties not quoted when passed to ant
-
- Resolved
-
We have the exact same issue. Jobs work fine in LTS1.642.4. They failed after upgrading to LTS 1.651.1
A temporary work around is to set the value of string parameter to be '' (2 single quotes) instead of leaving it empty.