aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-03-01 14:49:12 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-03-01 14:49:12 +0800
commit1367db4de5dba2ad6984e0488fc8c03eede2a6c1 (patch)
tree8788c7c74da69c932c2d2992eab89f6bc5d1d83d
parenta142031091350dbad0e47ccda62c030645503e16 (diff)
Update Sonar check for vfc-nfvo-lcm
Change-Id: I119e60f67faa237c28e40b87f1be94fbd27c0425 Issue-ID: VFC-782 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--pom.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 80ae2ff0..767c02e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,12 +28,14 @@
<name>vfc-nfvo-lcm</name>
<description>vfc nfvo lcm</description>
<properties>
- <sonar.skip>false</sonar.skip>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.sources>.</sonar.sources>
- <sonar.host.url>http://localhost:9000</sonar.host.url>
+ <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>
+ <sonar.pluginname>python</sonar.pluginname>
+ <sonar.inclusions>**/**.py</sonar.inclusions>
+ <sonar.exclusions>*tests*</sonar.exclusions>
</properties>
<build>
<pluginManagement>