diff options
author | Bin Sun <bins@vmware.com> | 2018-03-05 10:35:30 +0800 |
---|---|---|
committer | Bin Sun <bins@vmware.com> | 2018-03-05 14:34:19 +0800 |
commit | 379b89a6ba23b6514ffc1aa85b0fdb0c3b78c5cf (patch) | |
tree | 933b2984c5cbb9f19233a057a7191eed830ab27d /pom.xml | |
parent | c1d77aefc384025f908494a2843000b7f41e8a4b (diff) |
Add code coverage for sonar
Change-Id: I3cca97c960694cb010867cfda57057c2722acdaa
Issue-ID: MULTICLOUD-170
Signed-off-by: Bin Sun <bins@vmware.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -33,6 +33,13 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <nexusproxy>https://nexus.onap.org</nexusproxy> + <sonar.sources>.</sonar.sources> + <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath> + <sonar.python.coverage.reportPath>vio/coverage.xml</sonar.python.coverage.reportPath> + <sonar.language>py</sonar.language> + <sonar.pluginName>Python</sonar.pluginName> + <sonar.inclusions>**/*.py</sonar.inclusions> + <sonar.exclusions>tests/*,setup.py</sonar.exclusions> </properties> <build> </build> |