|
|
@ -17,18 +17,14 @@ steps:
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- mvn test
|
|
|
|
- mvn test
|
|
|
|
|
|
|
|
|
|
|
|
- name: sonnar
|
|
|
|
- name: sonar
|
|
|
|
image: maven:3-eclipse-temurin-17-alpine
|
|
|
|
image: maven:3-eclipse-temurin-17-alpine
|
|
|
|
secrets: [ SECRET_SONAR_LOGIN ]
|
|
|
|
commands:
|
|
|
|
environment:
|
|
|
|
- mvn verify sonar:sonar -Dsonar.host.url=https://codefirst.iut.uca.fr/sonar/ -Dsonar.login=$${PLUGIN_SONAR_TOKEN} -Dsonar.projectKey=CICD_Java_Backend_Personal_Library_louis
|
|
|
|
sonar_host: https://codefirst.iut.uca.fr/sonar/
|
|
|
|
settings:
|
|
|
|
sonar_token:
|
|
|
|
sonar_token:
|
|
|
|
from_secret: SECRET_SONAR_LOGIN
|
|
|
|
from_secret: SECRET_SONAR_LOGIN
|
|
|
|
project_key: CICD_Java_Backend_Personal_Library_louis
|
|
|
|
depends_on: [build]
|
|
|
|
coverage_exclusions: "support/tests/**"
|
|
|
|
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- mvn clean verify sonar:sonar \ -Dsonar.projectKey=CICD_Java_Backend_Personal_Library_louis \ -Dsonar.host.url=${sonar_host} \ -Dsonar.login=${sonar_token}
|
|
|
|
|
|
|
|
depends_on: [test]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: swagger
|
|
|
|
- name: swagger
|
|
|
|
image: hub.codefirst.iut.uca.fr/maxime.batista/codefirst-docdeployer
|
|
|
|
image: hub.codefirst.iut.uca.fr/maxime.batista/codefirst-docdeployer
|
|
|
|