forked from lucas.delanier/MovieFinder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
504 B
16 lines
504 B
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: sonar-analyses
|
|
image: hub.codefirst.iut.uca.fr/camille.petitalot/drone-sonarplugin-reactnative:latest
|
|
commands:
|
|
- 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 |