change report path to match jenkinsfile test result location

This commit is contained in:
Sebastian Sdorra
2018-07-24 08:50:38 +02:00
parent cb6b0d0ee6
commit bcc23074f6
2 changed files with 4 additions and 4 deletions

View File

@@ -56,13 +56,13 @@
]
},
"jest": {
"coverageDirectory": "target/coverage",
"coverageDirectory": "target/jest-reports/coverage",
"coveragePathIgnorePatterns": [
"src/tests/.*"
],
"reporters": [ "default", "jest-junit" ]
},
"jest-junit": {
"output": "./target/reports/jest-junit.xml"
"output": "./target/jest-reports/TEST-all.xml"
}
}

View File

@@ -21,8 +21,8 @@
<sonar.sources>src</sonar.sources>
<sonar.test.exclusions>**/*.test.js,src/tests/**</sonar.test.exclusions>
<sonar.coverage.exclusions>**/*.test.js,src/tests/**</sonar.coverage.exclusions>
<sonar.javascript.jstest.reportsPath>target/reports</sonar.javascript.jstest.reportsPath>
<sonar.javascript.lcov.reportPaths>target/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
<sonar.javascript.jstest.reportsPath>target/jest-reports</sonar.javascript.jstest.reportsPath>
<sonar.javascript.lcov.reportPaths>target/jest-reports/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
</properties>
<build>