Analyze.
This commit is contained in:
parent
d54100f7bd
commit
8b1fc775aa
12
.drone.yml
12
.drone.yml
@ -2,9 +2,19 @@ kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
environment:
|
||||
SONAR_HOST_URL:
|
||||
from_secret: sonarScannerHostUrl
|
||||
SONAR_LOGIN:
|
||||
from_secret: sonarScannerLogin
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: maven:3-jdk-10
|
||||
commands:
|
||||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
- mvn test -B
|
||||
- mvn test -B
|
||||
- name: analyse
|
||||
image: maven:3-jdk-10
|
||||
commands:
|
||||
- mvn clean verify sonar:sonar -Dsonar.projectKey=LDC -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN
|
||||
|
Loading…
Reference in New Issue
Block a user