From 60d70ea206fa3d6f0c3c995ce147f49d4c1eca0a Mon Sep 17 00:00:00 2001 From: Lucas DELANIER Date: Fri, 17 Mar 2023 09:40:47 +0100 Subject: [PATCH] Ajouter '.drone.yml' --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..41e4b28 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,17 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: sonar-analyses + image: hub.codefirst.iut.uca.fr/camille.petitalot/drone-sonarplugin-reactnative:latest + commands: + - cd src + - npm install + - sonar-scanner -Dsonar.projectKey=MovieFinder -Dsonar.sources=. -Dsonar.host.url=$${PLUGIN_SONAR_HOST} + -Dsonar.login=$${PLUGIN_SONAR_TOKEN} + secrets: [ SONAR_TOKEN ] + settings: + sonar_host: https://codefirst.iut.uca.fr/sonar/ + sonar_token: + from_secret: SONAR_TOKEN \ No newline at end of file