ci: SonarQube test #2
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
c89a43d447
commit
1370cd2def
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 -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}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user