Compare commits

...

1 Commits

Author SHA1 Message Date
Louis LABORIE e1cada8f96 Add pipeline for Mobile project 🦺🦺
4 weeks ago

@ -0,0 +1,21 @@
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=Optifit_Mobile_App -Dsonar.sources=. -Dsonar.host.url=$${PLUGIN_SONAR_HOST}
-Dsonar.login=$${PLUGIN_SONAR_TOKEN}
secrets: [ SECRET_SONAR_LOGIN ]
settings:
sonar_host: https://codefirst.iut.uca.fr/sonar/
sonar_token:
from_secret: SECRET_SONAR_LOGIN
when:
branch:
- pipeline
event:
- push
Loading…
Cancel
Save