Change Sonar image
continuous-integration/drone/push Build is passing Details

master
Clément FRÉVILLE 2 years ago
parent 6e5af0081c
commit 22f66558b1

@ -1,15 +1,16 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: Deploiement
trigger: trigger:
event: event:
- push - push
steps: steps:
- name: code-analysis - name: sonar
image: aosapps/drone-sonar-plugin image: sonarsource/sonar-scanner-cli:5
settings: commands:
- sonar-scanner -Dsonar.projectKey=drone-health-clfreville2 -Dsonar.sources=. -Dsonar.login=$${PLUGIN_SONAR_TOKEN} -Dsonar.host.url=$${PLUGIN_SONAR_HOST} -Dsonar.php.coverage.reportPaths=coverage.xml
settings:
sonar_host: sonar_host:
from_secret: sonar_host from_secret: sonar_host
sonar_token: sonar_token:
@ -34,4 +35,4 @@ steps:
CONTAINERNAME: drone-health CONTAINERNAME: drone-health
COMMAND: create COMMAND: create
OVERWRITE: true OVERWRITE: true
CODEFIRST_CLIENTDRONE_ENV_CONTAINER_PATH: clement.freville2-drone-health/ CODEFIRST_CLIENTDRONE_ENV_CONTAINER_PATH: clement.freville2-drone-health/

Loading…
Cancel
Save