Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/22915 )

Change subject: Add code coverage support for Java
......................................................................

Add code coverage support for Java

This change adds JaCoCo-based code coverage support for the Java modules
in the project. The coverage data is collected during test runs and can
be viewed in HTML format using the `./gradlew jacocoAggregatedReport`
task.

With this setup, it's now possible to generate and publish both C++ and
Java coverage reports from a single Jenkins job.

As demonstrated on https://jenkins.kudu.apache.org/job/coverage/,
there's no need to configure and maintain separate jobs for each
language.

Additionally, a small script runs `jacocoLogAggregatedCoverage` and
appends the aggregated JaCoCo metrics (e.g., summary line coverage) to
the bottom of the generated report. This step is necessary because
JaCoCo does not include these summary values in the HTML report by
default.

Change-Id: I15816adb14785eade28581f75918f6848457d190
Reviewed-on: http://gerrit.cloudera.org:8080/22915
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
M build-support/jenkins/build-and-test.sh
A build-support/process_jacoco_report.sh
2 files changed, 67 insertions(+), 5 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Alexey Serbin: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/22915
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I15816adb14785eade28581f75918f6848457d190
Gerrit-Change-Number: 22915
Gerrit-PatchSet: 6
Gerrit-Owner: Marton Greber <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>

Reply via email to