ci: SonarQube test #2
Some checks failed
Anthrove/Otter-Space-SDK/pipeline/head There was a failure building this commit

This commit is contained in:
SoXX 2024-07-19 11:53:15 +02:00
parent c89a43d447
commit 1370cd2def

2
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ pipeline {
script { script {
def scannerHome = tool 'SonarScanner' def scannerHome = tool 'SonarScanner'
withSonarQubeEnv() { withSonarQubeEnv() {
sh "${scannerHome}/bin/sonar-scanner -Dsonar.coverageReportPaths=coverage.out -Dsonar.testExecutionReportPaths=test-report.out" sh "${scannerHome}/bin/sonar-scanner -Dsonar.coverageReportPaths=coverage.out -Dsonar.testExecutionReportPaths=test-report.out -Dsonar.branch.name=${env.BRANCH_NAME} -Dsonar.pullrequest.key=${env.CHANGE_ID} -Dsonar.pullrequest.branch=${env.BRANCH_NAME} -Dsonar.pullrequest.base=${env.CHANGE_TARGET}"
} }
} }
} }