|
|
@ -11,8 +11,8 @@ steps:
|
|
|
|
- name: app-image
|
|
|
|
- name: app-image
|
|
|
|
image: plugins/docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
context: Source
|
|
|
|
context: ./Source/
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
repo: hub.codefirst.iut.uca.fr/dorian.hodin/sae4.01_formulaire
|
|
|
|
repo: hub.codefirst.iut.uca.fr/dorian.hodin/sae4.01_formulaire
|
|
|
|
username:
|
|
|
|
username:
|
|
|
@ -38,7 +38,7 @@ steps:
|
|
|
|
SONAR_TOKEN:
|
|
|
|
SONAR_TOKEN:
|
|
|
|
from_secret: SONARQ_TOKEN
|
|
|
|
from_secret: SONARQ_TOKEN
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- curl https://codefirst.iut.uca.fr/containers/Temoignages-app-image/coverage.xml -o /drone/src/coverage.xml
|
|
|
|
- curl https://codefirst.iut.uca.fr/containers/Temoignages-app-image/Source/coverage.xml -o /drone/src/coverage.xml
|
|
|
|
- sonar-scanner -Dsonar.projectKey=SAE4.01_FORMULAIRE
|
|
|
|
- sonar-scanner -Dsonar.projectKey=SAE4.01_FORMULAIRE
|
|
|
|
-Dsonar.sources=.
|
|
|
|
-Dsonar.sources=.
|
|
|
|
-Dsonar.inclusions=**/*.php
|
|
|
|
-Dsonar.inclusions=**/*.php
|
|
|
|