diff --git a/.drone.yml b/.drone.yml index 3221f5d2..7e55b260 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,8 +22,6 @@ steps: environment: SONAR_TOKEN: from_secret: SONAR_TOKEN - settings: - sources: ./Sources commands: - apt-get update && apt-get install -y curl unzip - export SONAR_SCANNER_VERSION=4.7.0.2747 @@ -32,7 +30,7 @@ steps: - unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ - export PATH=$SONAR_SCANNER_HOME/bin:$PATH - export SONAR_SCANNER_OPTS="-server" - - ls + - cd Sources - sonar-scanner -D sonar.projectKey=HeartTrack -D sonar.host.url=https://codefirst.iut.uca.fr/sonar depends_on: [ test ]