Jenkins Error | Selenium Forum
M
Posted on 04/01/2016
Hi Ashish -

I am getting following error in Jenkins. Please help.

Started by user anonymous

Building in workspace C:\Users\Home\.jenkins\workspace\FrameworkANT

[FW_TestNG] $ cmd.exe /C '"C:\apache-ant-1.9.6\bin\ant.bat -file Build.xml ant clean compile run makexsltreports && exit %%ERRORLEVEL%%"'

Buildfile: C:\TestNG\FW_TestNG\Build.xml

BUILD FAILED

Target "ant" does not exist in the project "Selenium".

Total time: 0 seconds

Build step 'Invoke Ant' marked build as failure

Finished: FAILURE

Please help me to rectify this error. Attached is the build.xml that I am using.

M
Replied on 04/01/2016

what is the cmd you are firing?


M
Replied on 05/01/2016

ant clean compile run makexsltreports


M
Replied on 05/01/2016

please send the screen shot of error and

tell exactly at which target(clean, compile, run, or makexsltreports) error in coming?