You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ng...@apache.org on 2022/12/02 16:56:12 UTC

[jackrabbit-oak] branch trunk updated: Oak-10011 | Specifying path from where sonar scanner can pick up the jacoco xml reports (#783)

This is an automated email from the ASF dual-hosted git repository.

ngupta pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1e5f973c8a Oak-10011 | Specifying path from where sonar scanner can pick up the jacoco xml reports (#783)
1e5f973c8a is described below

commit 1e5f973c8a5e753b31fe73eeb93eb01aea575e63
Author: nit0906 <ni...@gmail.com>
AuthorDate: Fri Dec 2 22:26:06 2022 +0530

    Oak-10011 | Specifying path from where sonar scanner can pick up the jacoco xml reports (#783)
---
 oak-parent/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml
index a6737aead5..da16ac6159 100644
--- a/oak-parent/pom.xml
+++ b/oak-parent/pom.xml
@@ -84,6 +84,11 @@
     <!-- refresh interval in seconds for elastic stats cache (default is 60 seconds).
      Lower interval is needed for tests to execute faster. So setting to 10 seconds using a system property-->
     <oak.elastic.statsRefreshSeconds>10</oak.elastic.statsRefreshSeconds>
+    <sonar.coverage.jacoco.xmlReportPaths>
+      ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+    </sonar.coverage.jacoco.xmlReportPaths>
+    <sonar.organization>apache</sonar.organization>
+    <sonar.host.url>https://sonarcloud.io</sonar.host.url>
   </properties>
 
   <issueManagement>