diff --git a/.drone.yml b/.drone.yml index b69de44..e9fc300 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,10 +9,10 @@ steps: commands: - cd src - npm install - - npm run test --testResultsProcessor=jest-sonar-reporter + - npm run test - sonar-scanner -Dsonar.projectKey=Learnihon -Dsonar.sources=. -Dsonar.host.url=$${PLUGIN_SONAR_HOST} -Dsonar.login=$${PLUGIN_SONAR_TOKEN} -Dsonar.javascript.lcov.reportPaths=./test/coverage/lcov.info - -Dsonar.exclusions=src./test/coverage/lcov-report/**/* + -Dsonar.exclusions=./test/coverage/lcov-report/**/* secrets: [ SONAR_TOKEN ] settings: sonar_host: https://codefirst.iut.uca.fr/sonar/