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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new c2dacbd01 RATIS-1988. Provide Jacoco report to Sonar (#1002)
c2dacbd01 is described below

commit c2dacbd013a96a8cfb23e60dc09373fe0e32a28c
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Mon Jan 1 18:58:46 2024 +0100

    RATIS-1988. Provide Jacoco report to Sonar (#1002)
---
 dev-support/checks/sonar.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-support/checks/sonar.sh b/dev-support/checks/sonar.sh
index 59782a09a..55a46cfec 100755
--- a/dev-support/checks/sonar.sh
+++ b/dev-support/checks/sonar.sh
@@ -25,4 +25,5 @@ fi
 
 ${MVN} -B verify -DskipShade -DskipTests --no-transfer-progress \
   org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar \
+  -Dsonar.coverage.jacoco.xmlReportPaths="$(pwd)/target/coverage/all.xml" \
   -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache 
-Dsonar.projectKey=apache-ratis

Reply via email to