summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkjaniak <kornel.janiak@nokia.com>2020-02-11 14:58:58 +0100
committerkjaniak <kornel.janiak@nokia.com>2020-02-12 14:58:01 +0100
commitbe3d9ff373e207018b26d90e1a4d371ec47b1af3 (patch)
tree873fe855c9a42da002ad59c3dcacbae080833bb5
parent16894a95382d79795af3552851027c6ae8af732a (diff)
Expose jacoco file for sonar
Issue-ID: DCAEGEN2-2014 Change-Id: Ia73525018b4bde4607d497f80db0a7c1852ff15f Signed-off-by: kjaniak <kornel.janiak@nokia.com>
-rw-r--r--pom.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 5bfc21e5..a7a3d039 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,6 +73,10 @@
<skipAnalysis>true</skipAnalysis>
<jacoco.minimum.coverage>60</jacoco.minimum.coverage>
<skipEnforcer>true</skipEnforcer>
+ <!--Specify path to load jacoco xml report, as Sonar can't load Kotlin coverage from binary report. -->
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.basedir}/build/hv-collector-coverage/target/site/jacoco-aggregate/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
<!-- Docker -->
<skipDocker>false</skipDocker>