aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2019-10-18 08:53:19 +0200
committerxuegao <xg353y@intl.att.com>2019-10-18 08:53:19 +0200
commit06e255d6f26d8d52f9283178d7bee2f371d119de (patch)
treee4cd6e4183e93167c189abe015e3aec9323307c1
parent524b364a12f834e826f4e8be1119b61ba14b503c (diff)
Update sonar settings
Remove the tests and config files out of the sonar code coverage calculation. Issue-ID: CLAMP-512 Change-Id: I86afcd8c307a11b8f5cceb955c40c32cd7129781 Signed-off-by: xuegao <xg353y@intl.att.com>
-rw-r--r--pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index c0f31e933..c327be1f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,7 +97,7 @@
<sonar.javascript.lcov.reportPaths>${project.build.directory}/${ui.react.src}/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
<sonar.exclusions>src/main/resources/**</sonar.exclusions>
-
+ <sonar.coverage.exclusions>src/main/resources/**,target/ui-react/src/**/*.test.js,target/ui-react/src/setupTests.js,src/main/docker/*.py</sonar.coverage.exclusions>
<docker.push.registry>localhost:5000</docker.push.registry>
<docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
<docker.skip.build>true</docker.skip.build>