diff options
author | 2018-02-22 11:35:58 -0500 | |
---|---|---|
committer | 2018-02-22 11:36:31 -0500 | |
commit | b758d3686595c03eeb1bfe4f50b86f28b7b8c86f (patch) | |
tree | d39f5509e654f1756bd80853275b34b2cd2a6872 /docker/pom.xml | |
parent | bc19a3632f8df30e28876418f00cd96caa6dfa91 (diff) |
Make SONAR code coverage work
Change-Id: I8a61f287d439a5bf0b2cb203e31b514a2cae0a5e
Issue-ID: DCAEGEN2-355
Signed-off-by: Andrew Gauld <ag1282@att.com>
Diffstat (limited to 'docker/pom.xml')
-rw-r--r-- | docker/pom.xml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/docker/pom.xml b/docker/pom.xml index be11078..ebe2f26 100644 --- a/docker/pom.xml +++ b/docker/pom.xml @@ -32,21 +32,13 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <sonar.skip>true</sonar.skip> <sonar.sources>.</sonar.sources> - <!-- customize the SONARQUBE URL --> - <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> - <!-- below are language dependent --> - <!-- for Python --> + <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath> + <sonar.python.coverage.reportPath>coverage.xml</sonar.python.coverage.reportPath> <sonar.language>py</sonar.language> <sonar.pluginName>Python</sonar.pluginName> <sonar.inclusions>**/*.py</sonar.inclusions> - <!-- for JavaScaript --> - <!-- - <sonar.language>js</sonar.language> - <sonar.pluginName>JS</sonar.pluginName> - <sonar.inclusions>**/*.js</sonar.inclusions> - --> + <sonar.exclusions>tests/*,setup.py</sonar.exclusions> </properties> <build> <finalName>${project.artifactId}-${project.version}</finalName> |