Added tests to sdc-pubsub 69/61169/1
authorIdan Amit <ia096e@intl.att.com>
Sun, 19 Aug 2018 10:15:27 +0000 (13:15 +0300)
committerIdan Amit <ia096e@intl.att.com>
Sun, 19 Aug 2018 10:15:27 +0000 (13:15 +0300)
Changed sonar parameters to integrate with sonarTS plugin

Change-Id: I91c38165d8a7a86a88ffdf99b9e9d5924d145d82
Issue-ID: SDC-1542
Signed-off-by: Idan Amit <ia096e@intl.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index d45552a..55fca90 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <nexus.proxy>https://nexus.onap.org</nexus.proxy>
                <staging.profile.id>176c31dfe190a</staging.profile.id>
 
-        <sonar.typescript.node>node</sonar.typescript.node>
-        <sonar.sources>lib</sonar.sources>
-        <sonar.tests>lib</sonar.tests>
-        <sonar.test.inclusions>lib/*.spec.ts</sonar.test.inclusions>
-        <sonar.typescript.lcov.reportPaths>coverage/lcov.info</sonar.typescript.lcov.reportPaths>
-        <sonar.testExecutionReportPaths>coverage/test-report.xml</sonar.testExecutionReportPaths>
+        <sonar.typescript.node>${basedir}/node</sonar.typescript.node>
+        <sonar.sources>${basedir}/lib</sonar.sources>
+        <sonar.tests>${basedir}/lib</sonar.tests>
+        <sonar.test.inclusions>${basedir}/lib/*.spec.ts</sonar.test.inclusions>
+        <sonar.typescript.lcov.reportPaths>${basedir}/coverage/lcov.info</sonar.typescript.lcov.reportPaths>
+        <sonar.testExecutionReportPaths>${basedir}/coverage/test-report.xml</sonar.testExecutionReportPaths>
        </properties>
        
        <build>