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/07/21 23:52:45 UTC

git commit: Instruct jacoco gradle plugin to save coverage details needed by jacoco jenkins plugin.

Repository: incubator-aurora
Updated Branches:
  refs/heads/master 9dd58ecc8 -> 3af67c023


Instruct jacoco gradle plugin to save coverage details needed by jacoco jenkins plugin.

Bugs closed: AURORA-593

Reviewed at https://reviews.apache.org/r/23753/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/3af67c02
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/3af67c02
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/3af67c02

Branch: refs/heads/master
Commit: 3af67c023994dc0cb2bb5feca7ac0442077518f4
Parents: 9dd58ec
Author: Bill Farner <wf...@apache.org>
Authored: Mon Jul 21 14:48:28 2014 -0700
Committer: Bill Farner <wf...@apache.org>
Committed: Mon Jul 21 14:52:30 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/3af67c02/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 751bde2..bd34f10 100644
--- a/build.gradle
+++ b/build.gradle
@@ -495,6 +495,15 @@ jacocoTestReport {
   }
 }
 
+// Output jacoco details needed by the jacoco jenkins plugin.
+test {
+  jacoco {
+    append = false
+    destinationFile = file("$buildDir/reports/jacoco/jacoco.exec")
+    classDumpFile = file("$buildDir/reports/jacoco/classes")
+  }
+}
+
 test.finalizedBy jacocoTestReport
 
 task FlagSchemaChanges(type: Test) << {