You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by vf...@apache.org on 2015/11/25 20:08:02 UTC

[49/50] [abbrv] incubator-geode git commit: GEODE-377: Add merge task for merging Distributed and Integration test coverage for consumption by SonarQube

GEODE-377: Add merge task for merging Distributed and Integration test coverage
for consumption by SonarQube


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/17fdf57f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/17fdf57f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/17fdf57f

Branch: refs/heads/feature/GEODE-78
Commit: 17fdf57fdfa80a909e3f47d46408abe1ee45022a
Parents: 6c09b04
Author: Mark Bretl <mb...@pivotal.io>
Authored: Wed Sep 30 15:25:13 2015 -0700
Committer: Mark Bretl <mb...@pivotal.io>
Committed: Tue Oct 6 15:14:17 2015 -0700

----------------------------------------------------------------------
 build.gradle | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/17fdf57f/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index eda7642..c1534de 100755
--- a/build.gradle
+++ b/build.gradle
@@ -181,9 +181,18 @@ subprojects {
       }
     }
 
+    task mergeIntegrationTestCoverage (type: JacocoMerge) {
+      description 'Merges Distributed and Integration test coverage results'
+
+      destinationFile = file("${buildDir}/jacoco/mergedIntegrationTestCoverage.exec")
+      executionData = fileTree(dir: 'build/jacoco', include: ['**/distributedTest.exec','**/integrationTest.exec'])
+
+    }
+
     jacocoTestReport {
       reports { 
         csv.enabled false
+        sourceSets project.sourceSets.main
         html.destination "${buildDir}/jacocoTestHtml"
       }
     }