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