ci: added sonarqube coverage location & test location
Some checks failed
Anthrove/Otter-Space-SDK/pipeline/head There was a failure building this commit
Some checks failed
Anthrove/Otter-Space-SDK/pipeline/head There was a failure building this commit
This commit is contained in:
parent
e3b78ebaf3
commit
c89a43d447
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -27,7 +27,7 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
def scannerHome = tool 'SonarScanner'
|
def scannerHome = tool 'SonarScanner'
|
||||||
withSonarQubeEnv() {
|
withSonarQubeEnv() {
|
||||||
sh "${scannerHome}/bin/sonar-scanner"
|
sh "${scannerHome}/bin/sonar-scanner -Dsonar.coverageReportPaths=coverage.out -Dsonar.testExecutionReportPaths=test-report.out"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user