Hi, In Jenkins Server, i have create a job and use Ant for building.
While building the job i got the following console output 10:09:21 Started by user Nanthagopal A 10:09:21 Building in workspace /home/e0000025/.jenkins/jobs/NTH-PSMS/workspace 10:09:24 Updating http://xxxxxx/xxx/xxxxxx/xxx to revision '2012-11-12T10:09:21.691 +0530' 10:09:26 At revision 65 10:09:27 no change for http://xxxxxx/xx/xxxxxx/xxxxxx since the previous build 10:09:27 [workspace] $ /home/e0000025/.jenkins/tools/Ant/Apache_Ant_1.8.2/bin/ant clean dist TestValidatePin junitreport 10:09:27 Buildfile: /home/xxxxx/.jenkins/jobs/NTH-PSMS/workspace/build.xml 10:09:28 Trying to override old definition of task javac 10:09:28 10:09:28 clean: 10:09:28 [delete] Deleting directory /home/e0000025/.jenkins/jobs/NTH-PSMS/workspace/junit 10:09:28 10:09:28 init: 10:09:28 [mkdir] Created dir: /home/e0000025/.jenkins/jobs/NTH-PSMS/workspace/build 10:09:28 10:09:28 compile: 10:09:28 [javac] Compiling 69 source files to /home/e0000025/.jenkins/jobs/NTH-PSMS/workspace/build 10:09:31 10:09:31 dist: 10:09:31 [mkdir] Created dir: /home/e0000025/.jenkins/jobs/NTH-PSMS/workspace/dist/lib 10:09:31 [jar] Building MANIFEST-only jar: /home/e0000025/.jenkins/jobs/NTH-PSMS/workspace/dist/lib/NTH.jar 10:09:31 10:09:31 TestValidatePin: 10:09:31 [mkdir] Created dir: /home/e0000025/.jenkins/jobs/NTH-PSMS/workspace/junit 10:09:31 [junit] Running com.nth.psms.api.v25.testcases.TestValidatePin 10:09:31 [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec 10:09:32 [junit] Test com.nth.psms.api.v25.testcases.TestValidatePin FAILED 10:09:32 10:09:32 junitreport: 10:09:32 10:09:32 BUILD SUCCESSFUL 10:09:32 Total time: 4 seconds 10:09:32 Archiving artifacts 10:09:32 Recording test results 10:09:32 Build step 'Publish JUnit test result report' changed build result to UNSTABLE 10:09:32 Sending e-mails to: nanthagopa...@snovabits.net 10:09:34 Finished: UNSTABLE and xml file generated for test cases as follows: <testsuites><testsuite errors="1" failures="0" hostname="nbcpu01" id="0" name="TestValidatePin" package="com.nth.psms.api.v25.testcases" tests="1" time="0.0" timestamp="2012-11-12T04:39:31"> <error message="com.nth.psms.api.v25.testcases.TestValidatePin" type="java.lang.ClassNotFoundException">java.lang.ClassNotFoundException: com.nth.psms.api.v25.testcases.TestValidatePin at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) </error> </testsuites> but when i build in eclipse, it works fine and there is no error message. Please Sugges me, why test cases get failed in jenkins server Thank you & Regards, Nanthaogpal A -- View this message in context: http://jenkins.361315.n4.nabble.com/Test-Cases-get-Failed-in-Jenkins-Server-tp4645827.html Sent from the Jenkins issues mailing list archive at Nabble.com.