liste-de-courses/.drone.yml

20 lines
514 B
YAML
Raw Normal View History

2022-07-19 14:51:49 +00:00
kind: pipeline
2022-07-19 15:00:29 +00:00
type: docker
2022-07-19 14:51:49 +00:00
name: default
2022-07-22 18:52:34 +00:00
2022-07-19 14:51:49 +00:00
steps:
- name: test
image: maven:3-jdk-10
commands:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
2022-07-22 18:52:34 +00:00
- mvn test -B
- name: analyse
image: maven:3-jdk-10
2022-07-22 18:54:00 +00:00
environment:
SONAR_HOST_URL:
from_secret: sonarScannerHostUrl
SONAR_LOGIN:
from_secret: sonarScannerLogin
2022-07-22 18:52:34 +00:00
commands:
- mvn clean verify sonar:sonar -Dsonar.projectKey=LDC -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN