sonar-scanner configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
gitea-sonarqube-bot OK
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2022-12-04 19:06:19 +01:00
parent d1b2a1ee3c
commit 7c72198736
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -19,12 +19,12 @@ pipeline:
image: sonarsource/sonar-scanner-cli
secrets: [sonar_token, sonar_host, sonar_project]
commands:
- sonar-scanner \
-Dsonar.projectKey=$SONAR_PROJECT \
-Dsonar.sources=. \
-Dsonar.host.url=$SONAR_HOST \
-Dsonar.pullrequest.key=$CI_COMMIT_PULL_REQUEST \
-Dsonar.pullrequest.branch=$CI_COMMIT_SOURCE_BRANCH \
- sonar-scanner
-Dsonar.projectKey=$SONAR_PROJECT
-Dsonar.sources=.
-Dsonar.host.url=$SONAR_HOST
-Dsonar.pullrequest.key=$CI_COMMIT_PULL_REQUEST
-Dsonar.pullrequest.branch=$CI_COMMIT_SOURCE_BRANCH
-Dsonar.pullrequest.base=$CI_COMMIT_TARGET_BRANCH
failure: ignore
when: