<< Back to previous view |
[QB-2584] Coverage threshold number of Jacoco Report
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 6.0.21 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Phong Trinh | Assigned To: | Steve Luo |
Resolution: | Won't Fix | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
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 |
Comments |
Comment by 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. |
Comment by Steve Luo [ 03/Apr/16 07:13 AM ] |
If you still have question, please comment this so we will open the issue later. |