|
|
|
@ -26,11 +26,6 @@ steps: |
|
|
|
#image: plugins/sonarqube-scanner:linux-amd64 |
|
|
|
#image: plugins/sonarqube-scanner:linux-amd64 |
|
|
|
#https://github.com/drone-plugins/sonarqube-scanner/blob/main/DOCS.md |
|
|
|
#https://github.com/drone-plugins/sonarqube-scanner/blob/main/DOCS.md |
|
|
|
image: plugins/sonarqube-scanner:linux-amd64 |
|
|
|
image: plugins/sonarqube-scanner:linux-amd64 |
|
|
|
commands: # commands 属性将在 Docker 容器内执行的 shell 命令列表定义为容器入口点。如果任何命令返回非零退出代码,则管道步骤将失败。 |
|
|
|
|
|
|
|
- echo 1-${DRONE_BRANCH} |
|
|
|
|
|
|
|
- echo 2-${DRONE_PULL_REQUEST} |
|
|
|
|
|
|
|
- echo 3-${DRONE_SOURCE_BRANCH} |
|
|
|
|
|
|
|
- echo 4-${DRONE_TARGET_BRANCH} |
|
|
|
|
|
|
|
settings: |
|
|
|
settings: |
|
|
|
sonar_host: http://10.0.4.16:9000 |
|
|
|
sonar_host: http://10.0.4.16:9000 |
|
|
|
sonar_token: squ_d37ffc4085858b55e0b379c68e09a8163b2ba81d |
|
|
|
sonar_token: squ_d37ffc4085858b55e0b379c68e09a8163b2ba81d |
|
|
|
|