Hi All,
I am integrating Testopia with Jenkins,
Download very simple java app from internet having test cases.
Jenkins authentication with testopia is working fine.
Created test Plan, test run, test case in Testopia
Attached both jenkins and testopia conf details.
jenkins is not able found test results and not able to update testopia. Anyone please help me on this.
Testing.sh :-
cd target/test-classes
/usr/java/jdk1.7.0_71/bin/java -cp ".:/var/lib/jenkins/jobs/App/target/classes/*:/var/lib/jenkins/jobs/App/junit-4.11.jar:/var/lib/jenkins/jobs/App/hamcrest-core-1.3.jar" org.junit.runner.JUnitCore com.mkyong.core.TestApp1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.574 s
[INFO] Finished at: 2014-11-21T02:17:54-05:00
[INFO] Final Memory: 9M/57M
[INFO] ------------------------------------------------------------------------
Build step 'Invoke Maven 3' changed build result to SUCCESS
Connecting to Testopia to retrieve automated test cases
Preparing Testopia connection properties
Executing single build steps
[App] $ /bin/sh -xe /tmp/hudson2693326793877533844.sh
+ ./testing.sh
JUnit version 4.11
.
Time: 0.007
OK (1 test)
Executing iterative build steps
Seeking test results
Found 0 test results
Finished: SUCCESS