This commit is contained in:
parent
c0d0279a76
commit
bdefd613fb
11
.drone.yml
11
.drone.yml
@ -17,10 +17,7 @@ steps:
|
||||
- find
|
||||
|
||||
- name: code-analysis
|
||||
image: aosapps/drone-sonar-plugin
|
||||
settings:
|
||||
sonar_host:
|
||||
from_secret: sonar_host
|
||||
sonar_token:
|
||||
from_secret: sonar_token
|
||||
usingProperties: true
|
||||
image: maven:3-eclipse-temurin-16
|
||||
commands:
|
||||
- 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]
|
Loading…
Reference in New Issue
Block a user