From ba6ae7f2e9257a9514bb91fe0e25fd74a156bf44 Mon Sep 17 00:00:00 2001 From: zengsb Date: Wed, 14 Jun 2023 16:51:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0b82dc7..7f067e0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,16 @@ kind: pipeline type: docker -name: 代码分析 +name: code-analysis steps: - - name: 代码分析 - image: aosapps/drone-sonar-plugin + - name: code-analysis + image: drone-plugins/sonarqube-scanner:latest settings: - sonar_host: http://124.221.150.102:9000 - sonar_token: squ_2f0d436632d5d7c0a5a9242fefb42ff3b9e30028 - + sonar_host: + from_secret: http://124.221.150.102:9000 + sonar_token: + from_secret: squ_2f0d436632d5d7c0a5a9242fefb42ff3b9e30028 + sonar_name: pert + sonar_key: pert node: role: pi-runner \ No newline at end of file