测试传值

pull/10/head
zengsb 2 years ago
parent a6ee451fab
commit de5bb196c8
  1. 11
      .drone.yml
  2. 4
      sonar-project.properties

@ -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

@ -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}
Loading…
Cancel
Save