From de5bb196c8184c41693177b2f7a35b346d974114 Mon Sep 17 00:00:00 2001 From: zengsb Date: Thu, 15 Jun 2023 21:28:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BC=A0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 ++++++----- sonar-project.properties | 4 ---- 2 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 sonar-project.properties diff --git a/.drone.yml b/.drone.yml index 6f655c6..ec6ea0f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,11 +37,12 @@ steps: build_number: ${DRONE_BUILD_NUMBER} build_version: ${DRONE_BUILD_VERSION} binaries: . - usingProperties: true - sonar.branch.name: ${DRONE_BRANCH} # for branch analysis - sonar.pullrequest.key: ${DRONE_PULL_REQUEST} # for pull request analysis and decoration - sonar.pullrequest.branch: ${DRONE_SOURCE_BRANCH} # for pull request analysis and decoration - sonar.pullrequest.base: ${DRONE_TARGET_BRANCH} # for pull request analysis and decoration + pr_key: ${DRONE_PULL_REQUEST} # for pull request analysis and decoration + pr_branch: ${DRONE_SOURCE_BRANCH} # for pull request analysis and decoration + pr_base: ${DRONE_TARGET_BRANCH} # for pull request analysis and decoration + sonar_pr_key: ${DRONE_PULL_REQUEST} # for pull request analysis and decoration + sonar_pr_branch: ${DRONE_SOURCE_BRANCH} # for pull request analysis and decoration + sonar_pr_base: ${DRONE_TARGET_BRANCH} # for pull request analysis and decoration #kind: pipeline #type: exec diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 12ffd46..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,4 +0,0 @@ -sonar.branch.name: ${DRONE_BRANCH} -sonar.pullrequest.key: ${DRONE_PULL_REQUEST} -sonar.pullrequest.branch: ${DRONE_SOURCE_BRANCH} -sonar.pullrequest.base: ${DRONE_TARGET_BRANCH} \ No newline at end of file