Hi Ankush,
I think you are missing the result seeking strategy? The plug-in uses these
strategies to look for your test results, and that could be causing the 0 tests
found message.
HTH,Bruno
From: Ankush Aggarwal <[email protected]>
To: [email protected]
Sent: Thursday, November 27, 2014 8:53 AM
Subject: Testopia jenkins integration
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 TestopiaAttached 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--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/0824adb5-ceb8-495c-aeed-8ec5b51855b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/1929685679.422714.1417089221615.JavaMail.yahoo%40jws10759.mail.gq1.yahoo.com.
For more options, visit https://groups.google.com/d/optout.