diff --git a/.drone.yml b/.drone.yml index b713d6a..4e8631b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,10 +9,13 @@ trigger: steps: - name: code-analysis image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-python37 + commands: + - /opt/sonar-scanner/bin/sonar-scanner -Dsonar.login=$${sonar_token} settings: sonar_host: https://codefirst.iut.uca.fr/sonar/ sonar_token: from_secret: SECRET_SONAR_TOKEN + sonar.python.version: 3 - name: docker-build-and-push image: plugins/docker