diff --git a/.drone.yml b/.drone.yml index c731015..f5e9d29 100644 --- a/.drone.yml +++ b/.drone.yml @@ -89,4 +89,8 @@ steps: - export PATH=$SONAR_SCANNER_HOME/bin:$PATH - export SONAR_SCANNER_OPTS="-server" - sonar-scanner -D sonar.projectKey=SECRET_SONAR_LOGIN_CRYPTIDE -D sonar.sources=./src -D sonar.host.url=https://codefirst.iut.uca.fr/sonar - secrets: [SECRET_SONAR_LOGIN_CRYPTIDE] \ No newline at end of file + secrets: [SECRET_SONAR_LOGIN_CRYPTIDE] + settings: + sonar_host: https://codefirst.iut.uca.fr/sonar/ + sonar_token: + from_secret: SECRET_SONAR_LOGIN_CRYPTIDE \ No newline at end of file