Trying to fix issue.
This commit is contained in:
parent
8b1fc775aa
commit
44ef9cba7d
11
.drone.yml
11
.drone.yml
@ -1,12 +1,6 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
environment:
|
||||
SONAR_HOST_URL:
|
||||
from_secret: sonarScannerHostUrl
|
||||
SONAR_LOGIN:
|
||||
from_secret: sonarScannerLogin
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
@ -16,5 +10,10 @@ steps:
|
||||
- mvn test -B
|
||||
- name: analyse
|
||||
image: maven:3-jdk-10
|
||||
environment:
|
||||
SONAR_HOST_URL:
|
||||
from_secret: sonarScannerHostUrl
|
||||
SONAR_LOGIN:
|
||||
from_secret: sonarScannerLogin
|
||||
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