This commit is contained in:
parent
c0d0279a76
commit
bdefd613fb
11
.drone.yml
11
.drone.yml
@ -17,10 +17,7 @@ steps:
|
|||||||
- find
|
- find
|
||||||
|
|
||||||
- name: code-analysis
|
- name: code-analysis
|
||||||
image: aosapps/drone-sonar-plugin
|
image: maven:3-eclipse-temurin-16
|
||||||
settings:
|
commands:
|
||||||
sonar_host:
|
- mvn sonar:sonar -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY
|
||||||
from_secret: sonar_host
|
secrets: [sonar_project_key, sonar_instance_url, sonar_login_key]
|
||||||
sonar_token:
|
|
||||||
from_secret: sonar_token
|
|
||||||
usingProperties: true
|
|
Loading…
Reference in New Issue
Block a user