Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2267C10193 for ; Thu, 16 Oct 2014 23:58:34 +0000 (UTC) Received: (qmail 45957 invoked by uid 500); 16 Oct 2014 23:58:34 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 45928 invoked by uid 500); 16 Oct 2014 23:58:34 -0000 Mailing-List: contact commits-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list commits@aurora.incubator.apache.org Received: (qmail 45919 invoked by uid 99); 16 Oct 2014 23:58:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 23:58:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Oct 2014 23:58:12 +0000 Received: (qmail 45509 invoked by uid 99); 16 Oct 2014 23:58:10 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 23:58:10 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2B0B79BF13F; Thu, 16 Oct 2014 23:58:10 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wfarner@apache.org To: commits@aurora.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: Re-add build message pointing to code coverage report. Date: Thu, 16 Oct 2014 23:58:10 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org 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 Authored: Thu Oct 16 16:57:31 2014 -0700 Committer: Bill Farner 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