Ajouter '.drone.yml'

master
Arthur VALIN 2 years ago
parent 224a9ed0bb
commit db6381c2d2

@ -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 Source
- npm install
- sonar-scanner -Dsonar.projectKey=PROJECT_NAME -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
Loading…
Cancel
Save