This is an automated email from the ASF dual-hosted git repository.
menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 2eaa8c94564 Refactor : update sonar coverage token (#32706)
2eaa8c94564 is described below
commit 2eaa8c94564282769de40c5e3fd95fe2dde50fac
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Wed Aug 28 14:22:58 2024 +0800
Refactor : update sonar coverage token (#32706)
---
.github/workflows/nightly-check.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/nightly-check.yml
b/.github/workflows/nightly-check.yml
index f5bf12d30f7..8c8ce6fd85e 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -258,4 +258,6 @@ jobs:
distribution: temurin
java-version: 17
- name: Upload jacoco report to sonar
- run: ./mvnw -Dsonar.coverage.jacoco.xmlReportPaths=${{
github.workspace }}/target/mergeReport/jacoco.xml sonar:sonar
+ env:
+ SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
+ run: ./mvnw -B sonar:sonar -Dsonar.projectKey=apache_shardingsphere
-Dsonar.coverage.jacoco.xmlReportPaths=${{ github.workspace
}}/target/mergeReport/jacoco.xml