History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2584
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Steve Luo
Reporter: Phong Trinh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Coverage threshold number of Jacoco Report

Created: 18/Nov/15 06:59 PM   Updated: 03/Apr/16 07:13 AM
Component/s: None
Affects Version/s: 6.0.21
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
 Hi Support Team and Robin,

  Is there any way that I can get coverage threshold number, Complexity Total or Branch Total, ... of the report via a script?

  Thank you in advance,
ptrinh

 All   Comments   Work Log   Change History      Sort Order:
Steve Luo [20/Nov/15 02:07 AM]
Where do you want to get those data? I will use publish Jacoco step as an example, if you want to get those data in this step, you can use context current in the script like:
current.getInstructionCoverage(),
current.getBranchCoverage(),
current.getComplexityCoverage()

But you are not able to get the number of Complexity Total, Branch Total or threshold.

Steve Luo [03/Apr/16 07:13 AM]
If you still have question, please comment this so we will open the issue later.