add code_quality in ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2022-12-03 23:47:55 +01:00
parent 45a68cbfc8
commit 89cf28f9a8
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -15,6 +15,15 @@ pipeline:
branch: [master, develop, feature/*]
event: [push, pull_request]
code_quality:
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
failure: ignore
when:
event: [push, pull_request]
package:
image: gitnet.fr/deblan/devenv
volumes: