From a914e967106091ea047d00de63bb518728cf3c72 Mon Sep 17 00:00:00 2001 From: Lilian BRETON Date: Tue, 22 Nov 2022 16:40:00 +0100 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index d310228..c6eab80 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,9 +57,8 @@ steps: COMMAND: create OVERWRITE: true - -CODEFIRST_CLIENTDRONE_ENV_SONAR_TOKEN: sqp_8937a8c406e06dbd27c9bf869d444b251f5451a6 - sonar-scanner \ - -Dsonar.projectKey=BOB-PARTY \ - -Dsonar.sources=. \ - -Dsonar.host.url=https://codefirst.iut.uca.fr/sonar \ No newline at end of file + -name: sonar + CODEFIRST_CLIENTDRONE_ENV_SONAR_TOKEN: + from_secret: SONAR_TOKEN + commands: + - sonar-scanner -Dsonar.projectKey=BOB-PARTY -Dsonar.sources=. -Dsonar.host.url=https://codefirst.iut.uca.fr/sonar \ No newline at end of file