-
Bug
-
Resolution: Fixed
-
Blocker
-
Jenkins greater than 1.652
IStarting from Jenkins 1.653 with the same plugins versions we noticed that the ant command is created differently and it does not work with our configuration.
Add build step Invoke Ant with the following values:
Ant Version: ANT_1.9.4
Targets: -lib D:\ANT_1.9.4\ANT_libs Alpha.i
Build File: buildInstallers.xml
Properties:
iaPath=${InstallAnywhereLocation}
iaOutputDir=$WORKSPACE
iaMergeModulesDir=
buildView=$WORKSPACE
buildLogsPath=$WORKSPACE
installersPath=$WORKSPACE
1.652 - Command output
cmd.exe /C '"D:\ANT_1.9.4\bin\ant.bat -file buildInstallers.xml -DiaOutputDir=D:\JENKINS-WS\Alpha\workspace "-DiaPath=C:\Program Files (x86)\InstallAnywhere 2015" -DbuildLogsPath=D:\JENKINS-WS\Alpha\workspace -DiaMergeModulesDir="" -DbuildView=D:\JENKINS-WS\Alpha\workspace -DinstallersPath=D:\JENKINS-WS\Alpha\workspace -lib D:\ANT_1.9.4\ANT_libs Alpha.i && exit %%ERRORLEVEL%%"'
1.653 and 1.654 - Command output
cmd.exe /C "D:\ANT_1.9.4\bin\ant.bat -file buildInstallers.xml -DiaOutputDir=D:\JENKINS-WS\Alpha\workspace '"-DiaPath=C:\Program Files (x86)\InstallAnywhere 2015"' -DbuildLogsPath=D:\JENKINS-WS\Alpha\workspace -DiaMergeModulesDir= -DbuildView=D:\JENKINS-WS\Alpha\workspace -DinstallersPath=D:\JENKINS-WS\Alpha\workspace -lib D:\ANT_1.9.4\ANT_libs Alpha.i && exit %%ERRORLEVEL%%"
BUILD FAILED
Target "D:\JENKINS-WS\Alpha\workspace" does not exist in the project "TNMS Installers".
- is related to
-
JENKINS-33712 Empty parameterized build properties not quoted when passed to ant
-
- Resolved
-
-
JENKINS-28790 Sonar database credentials in build console output not masked since LTS version 1.596.3
-
- Resolved
-
-
JENKINS-31986 OS-related problems with Maven parameters (from job or from build step)
-
- Open
-
sergejk So, in your case, I assume your problem comes from empty parameters. I experience the same issue and that is alright because there is already a fix for that (not released yet)
I am wondering about parameters whose value is not empty and contain spaces which is being claimed in this ticket to cause problems. I cannot reproduce it, so would like some more info about the errors that people are getting, if possible.