diff --git a/.drone.yml b/.drone.yml index 73cb2c5..dcba6a3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,15 +1,16 @@ kind: pipeline type: docker -name: Deploiement trigger: event: - push steps: - - name: code-analysis - image: aosapps/drone-sonar-plugin - settings: + - name: sonar + image: sonarsource/sonar-scanner-cli:5 + 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: from_secret: sonar_host sonar_token: @@ -34,4 +35,4 @@ steps: CONTAINERNAME: drone-health COMMAND: create OVERWRITE: true - CODEFIRST_CLIENTDRONE_ENV_CONTAINER_PATH: clement.freville2-drone-health/ \ No newline at end of file + CODEFIRST_CLIENTDRONE_ENV_CONTAINER_PATH: clement.freville2-drone-health/