You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2022/05/03 13:25:56 UTC

[cloudstack] branch main updated: maven: update sonarcloud project

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 2326b5e22a maven: update sonarcloud project
2326b5e22a is described below

commit 2326b5e22a9e57ff4f43576a6c8de4fa43bbda2f
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Tue May 3 18:55:20 2022 +0530

    maven: update sonarcloud project
    
    https://sonarcloud.io/project/configuration?id=apache_cloudstack
    
    Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
 .github/workflows/coverage-check.yml | 2 +-
 pom.xml                              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/coverage-check.yml b/.github/workflows/coverage-check.yml
index 3c1c4ed693..b72709eebc 100644
--- a/.github/workflows/coverage-check.yml
+++ b/.github/workflows/coverage-check.yml
@@ -91,7 +91,7 @@ jobs:
         run: |
           git clone https://github.com/shapeblue/cloudstack-nonoss.git nonoss
           cd nonoss && bash -x install-non-oss.sh && cd ..
-          mvn -P quality -Dsimulator -Dnoredist clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apachecloudstack -Dsonar.pullrequest.key=$PR_ID -Dsonar.pullrequest.base=main -Dsonar.pullrequest.branch=refs/pull/${{ github.event.number }}/merge -Dsonar.pullrequest.github.repository=apache/cloudstack -Dsonar.pullrequest.provider=GitHub
+          mvn -P quality -Dsimulator -Dnoredist clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_cloudstack
 
           echo "COVERAGE<<EOF" >> $GITHUB_ENV
           for file in ${{ steps.java-changes.outputs.all_changed_files }}; do
diff --git a/pom.xml b/pom.xml
index c315570fec..e309e1e02a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,7 +50,7 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         <project.systemvm.template.version>4.17.0.0</project.systemvm.template.version>
-        <sonar.organization>apachecloudstack</sonar.organization>
+        <sonar.organization>apache</sonar.organization>
         <sonar.host.url>https://sonarcloud.io</sonar.host.url>
 
         <!-- Build properties -->