Test DroneCI update
This commit is contained in:
parent
1827777968
commit
4124ea5207
10
.drone.yml
10
.drone.yml
@ -19,5 +19,11 @@ steps:
|
|||||||
- name: code-analysis
|
- name: code-analysis
|
||||||
image: maven:3-eclipse-temurin-16
|
image: maven:3-eclipse-temurin-16
|
||||||
commands:
|
commands:
|
||||||
- mvn sonar:sonar -Dsonar.projectKey=$$SONAR_PROJECT_KEY -Dsonar.host.url=$$SONAR_INSTANCE_URL -Dsonar.login=$$SONAR_LOGIN_KEY
|
- mvn sonar:sonar -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY
|
||||||
secrets: [sonar_project_key, sonar_instance_url, sonar_login_key]
|
environment:
|
||||||
|
SONAR_PROJECT_KEY:
|
||||||
|
from_secret: sonar_project_key
|
||||||
|
SONAR_INSTANCE_URL:
|
||||||
|
from_secret: sonar_instance_url
|
||||||
|
SONAR_LOGIN_KEY:
|
||||||
|
from_secret: sonar_login_key
|
Loading…
Reference in New Issue
Block a user