add code_quality in ci

This commit is contained in:
Simon Vieille 2022-12-03 23:47:55 +01:00
parent 45a68cbfc8
commit 89cf28f9a8
Signed by untrusted user: 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: