diff --git a/.drone.yml b/.drone.yml index a275d3f..a4b89b8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,7 @@ name: default # name 属性定义了管道的名称。您可以为您的项目 steps: - name: code-analysis #image: plugins/sonarqube-scanner:linux-amd64 + #https://github.com/drone-plugins/sonarqube-scanner/blob/main/DOCS.md image: plugins/sonarqube-scanner:linux-amd64 settings: sonar_host: http://10.0.4.16:9000 @@ -13,6 +14,7 @@ steps: sonar_key: pert level: TRACE showProfiling: true + branch: ${DRONE_BRANCH} binaries: . #kind: pipeline