add code_quality in ci
This commit is contained in:
parent
45a68cbfc8
commit
89cf28f9a8
|
@ -15,6 +15,15 @@ pipeline:
|
||||||
branch: [master, develop, feature/*]
|
branch: [master, develop, feature/*]
|
||||||
event: [push, pull_request]
|
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:
|
package:
|
||||||
image: gitnet.fr/deblan/devenv
|
image: gitnet.fr/deblan/devenv
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue