aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Carpenter <tommy@research.att.com>2017-09-25 12:12:04 -0400
committerTommy Carpenter <tommy@research.att.com>2017-09-25 12:12:27 -0400
commit84cc523968fa7308eb758a11288008f71661c118 (patch)
treed86dce9daca1dc2f5e902660d0a8f5e21f81d8d0
parentb151c1c22db264380f856e0045c4f9c7f9f4f229 (diff)
Update sonar section of pom
Issue-ID: DCAEGEN2-60 Change-Id: I0df6c19d9bf5c05ac7dfde192560301b78e762fe Signed-off-by: Tommy Carpenter <tommy@research.att.com>
-rw-r--r--.gitignore1
-rw-r--r--pom.xml26
2 files changed, 14 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index 3bdb964..c86ccf6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+xunit-results.xml
.DS_Store
# Byte-compiled / optimized / DLL files
__pycache__/
diff --git a/pom.xml b/pom.xml
index 1cbd160..7395527 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,21 +33,21 @@ 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 -->
+ <sonar.skip>false</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.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.junit.reportspath>xunit-reports/xunit-result-configbinding.xml</sonar.junit.reportspath>
+ <!--
+ <sonar.python.coverage.reportpath>coverage.xml</sonar.python.coverage.reportpath>
+ see https://docs.sonarqube.org/display/plug/python+coverage+results+import
+ ant pattern describing the path to coverage reports, relative to projects root. leave unset to use the default ("coverage-reports/coverage-*.xml").
-->
+ <sonar.language>py</sonar.language>
+ <sonar.pluginname>python</sonar.pluginname>
+ <sonar.inclusions>config_binding_service/**.py</sonar.inclusions>
+ <sonar.host.url>http://135.205.228.63:9000</sonar.host.url>
+
+
</properties>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>