You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2014/10/17 01:58:10 UTC
git commit: Re-add build message pointing to code coverage report.
Repository: incubator-aurora
Updated Branches:
refs/heads/master b931a5c7b -> cdde284ae
Re-add build message pointing to code coverage report.
Reviewed at https://reviews.apache.org/r/26787/
Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/cdde284a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/cdde284a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/cdde284a
Branch: refs/heads/master
Commit: cdde284ae8555ce62c0931e39fa21a94c1e863fd
Parents: b931a5c
Author: Bill Farner <wf...@apache.org>
Authored: Thu Oct 16 16:57:31 2014 -0700
Committer: Bill Farner <wf...@apache.org>
Committed: Thu Oct 16 16:57:31 2014 -0700
----------------------------------------------------------------------
build.gradle | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/cdde284a/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index e436aae..26925df 100644
--- a/build.gradle
+++ b/build.gradle
@@ -502,10 +502,14 @@ jacocoTestReport {
test.finalizedBy jacocoTestReport
task analyzeReport(type: CoverageReportCheck) {
- coverageReportFile = "$buildDir/reports/jacoco/test/jacocoTestReport.xml"
+ def reportPath = "$buildDir/reports/jacoco/test"
+ coverageReportFile = "$reportPath/jacocoTestReport.xml"
minInstructionCoverage = 0.87
minBranchCoverage = 0.82
legacyClassesWithoutCoverage = file('config/legacy_untested_classes.txt').readLines()
+ doLast {
+ println "Coverage report generated: file://$reportPath/html/index.html"
+ }
}
jacocoTestReport.finalizedBy analyzeReport