-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows Server 2008 R2
Hi all,
I have tried to create a new Job with Jenkins.
However each time when I configure the 'Invoke Ant' option
and tried to link to the build file (ie: build.xml, which is the auto generated file from the Eclipse project)
I would get the following error message:
$cmd.exe /C "ant.bat -file build.xml && exit %%ERRORLEVEL%%"'
'"jave.exe"' is not recognized as an internal or external command, operable program or batch file
Build step 'Invoke Ant' marked build as failure..
I have already specified the JAVA_HOME and ANT_HOME environment variable.
However, it still reflects the error.
Also, my project submitted is a Dynamic Web Project done in Eclipse IDE consisting of a basic jsp and servlet.
Hope the above information helps.
Appreciate any help rendered.
Thanks!