Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Bruno P. Kinoshita
Components: testlink
Created: 17/Aug/12 1:46 PM
Description:

In the console example below:

"Found 0 test result(s).
Updating TestLink test cases.
No emails were triggered.
Finished: SUCCESS"

we can see that when no test results are found, the test link plug-in reports a "SUCCESS" status. I think it's wrong and a "FAILURE" status should be reported instead.

Fix proposal:
Just adding:
if (report.getTestsTotal()==0) { build.setResult(Result.FAILURE); }

in src/main/java/hudson/plugins/testlink/TestLinkBuilder.java
at the end of the perform method is sufficient in my case.

Best Regards,
Oscar

Project: Jenkins
Priority: Minor Minor
Reporter: oscar francois
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to