|
|
|
@ -5,7 +5,7 @@ name: default # name 属性定义了管道的名称。您可以为您的项目 |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: code-analysis |
|
|
|
- name: code-analysis |
|
|
|
#image: plugins/sonarqube-scanner:linux-amd64 |
|
|
|
#image: plugins/sonarqube-scanner:linux-amd64 |
|
|
|
image: drone-plugins/sonarqube-scanner:latest |
|
|
|
image: plugins/sonarqube-scanner:linux-amd64 |
|
|
|
settings: |
|
|
|
settings: |
|
|
|
sonar_host: http://10.0.4.16:9000 |
|
|
|
sonar_host: http://10.0.4.16:9000 |
|
|
|
sonar_token: sqp_1f8c46141040c583d8e1f81f4f8302230ee1317e |
|
|
|
sonar_token: sqp_1f8c46141040c583d8e1f81f4f8302230ee1317e |
|
|
|
|