diff options
author | andre.schmid <andre.schmid@est.tech> | 2020-03-06 14:42:45 +0000 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-04-27 08:01:07 +0000 |
commit | 4a4d45fadfbb61e8e147f2b62e5dab5ac55403e8 (patch) | |
tree | 1e58f398d370ddcbb249f3a8fdc6659f2e3041bb /pom.xml | |
parent | bebff57a6a661825d26a17813fe4a3230ac6f9db (diff) |
Enabling JS in SonarCloud
Configures jest test coverage and missing sonar
properties for javascript file scan and report.
Change-Id: I9170a176cc4e580ac14f669c334ee949942503f6
Issue-ID: SDC-2741
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -131,13 +131,16 @@ Modifications copyright (c) 2018-2019 Nokia <sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version> <!-- sonar --> + <sonar.projectVersion>${project.version}</sonar.projectVersion> + <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable> + <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> + <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info</sonar.javascript.lcov.reportPaths> <sonar.coverage.jacoco.xmlReportPaths> ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml </sonar.coverage.jacoco.xmlReportPaths> <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding> <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir> - <sonar.branch>${project.version}</sonar.branch> - + <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions> <!--cassandra --> <cassandra.driver.version>3.6.0</cassandra.driver.version> <libthrift.version>0.12.0</libthrift.version> |