Compare commits
5 Commits
d54100f7bd
...
9446d097a3
Author | SHA1 | Date | |
---|---|---|---|
|
9446d097a3 | ||
|
763b4730fa | ||
|
5cb5296be2 | ||
|
44ef9cba7d | ||
|
8b1fc775aa |
18
.drone.yml
18
.drone.yml
@ -1,10 +1,22 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: maven:3-jdk-10
|
||||
image: maven:3-jdk-11
|
||||
commands:
|
||||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
- mvn test -B
|
||||
- mvn test -B
|
||||
- name: analyse
|
||||
image: maven:3-jdk-11
|
||||
failure: ignore
|
||||
commands:
|
||||
- echo $SONAR_HOST_URL
|
||||
- echo $SONAR_LOGIN
|
||||
- mvn clean verify sonar:sonar -Dsonar.projectKey=LDC -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN
|
||||
environment:
|
||||
SONAR_HOST_URL:
|
||||
from_secret: sonarScannerHostUrl
|
||||
SONAR_LOGIN:
|
||||
from_secret: sonarScannerLogin
|
Loading…
Reference in New Issue
Block a user