bvlabnaal

This commit is contained in:
cclecle
2023-03-23 23:02:57 +00:00
parent 01ce809823
commit eee2bf551c

4
Jenkinsfile vendored
View File

@@ -442,11 +442,11 @@ pipeline {
println GetCoverageValue_branch_rate(coverage_report_path)
println GetCoverageValue_complexity(coverage_report_path)
full_rate = BigDecimal( (GetCoverageValue_line_rate(coverage_report_path) + GetCoverageValue_branch_rate(coverage_report_path)) / 2 )
full_rate = new BigDecimal( (GetCoverageValue_line_rate(coverage_report_path) + GetCoverageValue_branch_rate(coverage_report_path)) / 2 )
sz_full_rate =Float.toString(full_rate.setScale(2, RoundingMode.HALF_EVEN))
badge_coverage.setStatus(sz_full_rate)
complexity = BigDecimal( GetCoverageValue_complexity(coverage_report_path))
complexity = new BigDecimal( GetCoverageValue_complexity(coverage_report_path))
sz_complexity =Float.toString(complexity.setScale(2, RoundingMode.HALF_EVEN))
badge_complexity.setStatus(sz_complexity)
}