From 31a00a46e458493ed0fb1ead9236b2373082f6a1 Mon Sep 17 00:00:00 2001 From: zengsb Date: Thu, 15 Jun 2023 20:34:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=88=86=E6=9E=90=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index ca6595b..40ba2fb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,18 +2,22 @@ kind: pipeline # kind 属性定义了对象的种类。此示例定义了一个 type: docker # type 属性定义管道的类型。此示例定义了一个 Docker 管道,其中每个管道步骤都在 Docker 容器内执行。 name: default # name 属性定义了管道的名称。您可以为您的项目定义一个或多个管道 -steps: - -name: code-analysis -image: aosapps/drone-sonar-plugin -settings: -sonar_host: http://10.0.4.16:9000 -sonar_token: squ_d37ffc4085858b55e0b379c68e09a8163b2ba81d -ver: 1.0 -timeout: 20 -sources: . -level: DEBUG -showProfiling: true +steps: + - name: code-analysis + #image: plugins/sonarqube-scanner:linux-amd64 + #https://github.com/drone-plugins/sonarqube-scanner/blob/main/DOCS.md + image: aosapps/drone-sonar-plugin + settings: + sonar_host: http://10.0.4.16:9000 + sonar_token: squ_d37ffc4085858b55e0b379c68e09a8163b2ba81d + sonar_name: pert + sonar_key: pert + ver: 1.0 + timeout: 20 + sources: . + level: DEBUG + showProfiling: true #steps: