diff --git a/.drone.yml b/.drone.yml index 0c8e8a6..381af2f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -55,4 +55,14 @@ steps: IMAGENAME: hub.codefirst.iut.uca.fr/lilian.breton/bobparty:latest CONTAINERNAME: bob_party_container COMMAND: create - OVERWRITE: true \ No newline at end of file + OVERWRITE: true + + +# sonar setup + - name: sonar-setup + CODEFIRST_CLIENTDRONE_ENV_SONAR_TOKEN: sqp_8276da170682406ce11243607e0c60bf17391b11 + commands: + sonar-scanner \ + -Dsonar.projectKey=BOB-PARTY \ + -Dsonar.sources=. \ + -Dsonar.host.url=https://codefirst.iut.uca.fr/sonar \ No newline at end of file