From d4c17b18981578428f601083af96de140d9b53ef Mon Sep 17 00:00:00 2001 From: zengsb Date: Wed, 14 Jun 2023 14:32:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=89=88=E6=9C=AC=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 13 +++++++++++++ sonar-project.properties | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 .drone.yml create mode 100644 sonar-project.properties diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..3557917 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,13 @@ +kind: pipeline +type: docker +name: 代码分析 + +steps: + - name: 代码分析 + image: aosapps/drone-sonar-plugin + settings: + sonar_host: http://124.221.150.102:9000 + sonar_token: squ_2f0d436632d5d7c0a5a9242fefb42ff3b9e30028 + +node: + role: sonarqube \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..e6b61f9 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,2 @@ +sonar.projectKey=pert +sonar.sources=. \ No newline at end of file