diff --git a/.drone.yml b/.drone.yml index 4ac2fd4..a79b9a5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,13 +17,13 @@ steps: - curl -sSLo /tmp/sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.5.0.2216-linux.zip - unzip -q /tmp/sonar-scanner-cli.zip -d /opt/sonar-scanner - export PATH=$PATH - - name: sonarqube - image: openjdk:latest - environment: - SONAR_TOKEN: - from_secret: SONAR_TOKEN - SONAR_HOST_URL: "https://your-sonarqube-url.com" - settings: - sources: ./ShakeAndCraft/ - commands: - - sonar-scanner \ No newline at end of file + - name: sonarqube + image: openjdk:latest + environment: + SONAR_TOKEN: + from_secret: SONAR_TOKEN + SONAR_HOST_URL: "https://your-sonarqube-url.com" + settings: + sources: ./ShakeAndCraft/ + commands: + - sonar-scanner \ No newline at end of file