diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-08-27 12:22:05 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-08-27 12:22:05 +0300 |
commit | 9e50679324b52feffce7689e8fda3a0709a37e49 (patch) | |
tree | dfa34c258c7f3781ccd2ea168d50a54b2d4ccdd6 /vid-app-common | |
parent | 230d95f0e16cd685f315f6dbc8204438b10e0c3c (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-x | vid-app-common/pom.xml | 5 |
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> |