aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-08-27 12:22:05 +0300
committerIttay Stern <ittay.stern@att.com>2019-08-27 12:22:05 +0300
commit9e50679324b52feffce7689e8fda3a0709a37e49 (patch)
treedfa34c258c7f3781ccd2ea168d50a54b2d4ccdd6 /vid-app-common
parent230d95f0e16cd685f315f6dbc8204438b10e0c3c (diff)
Get Sonar report Kotlin, by specifying path to load jacoco xml report
Sonar can't load Kotlin coverage from binary report; see https://jira.sonarsource.com/browse/MMF-1362 Issue-ID: VID-599 Change-Id: I7ffab337acb83847b3f29f835e25f13ec9daae6c Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common')
-rwxr-xr-xvid-app-common/pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index 34699f98c..1d2a2ad5d 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -38,6 +38,11 @@
<selenium.version>3.141.59</selenium.version>
<sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
+ <!--Specify path to load jacoco xml report, as Sonar can't load Kotlin coverage from binary report. -->
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
+
<!-- Skip assembling the zip by default -->
<skipassembly>true</skipassembly>
<nexusproxy>https://nexus.onap.org</nexusproxy>