You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2024/02/05 07:03:30 UTC

(cloudstack) branch 4.20-sonar-jre17 created (now b16d00adee4)

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

weizhou pushed a change to branch 4.20-sonar-jre17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


      at b16d00adee4 .github: use JRE17 for sonar check

This branch includes the following new commits:

     new b16d00adee4 .github: use JRE17 for sonar check

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(cloudstack) 01/01: .github: use JRE17 for sonar check

Posted by we...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch 4.20-sonar-jre17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit b16d00adee494ff67e40f408045479204abab1d4
Author: Wei Zhou <we...@apache.org>
AuthorDate: Mon Feb 5 08:03:11 2024 +0100

    .github: use JRE17 for sonar check
    
    this fixes the issue
    ```
    Error:  Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project cloudstack:
    Error:
    Error:  The version of Java (11.0.22) used to run this analysis is deprecated, and SonarCloud no longer supports it. Please upgrade to Java 17 or later.
    Error:  You can find more information here: https://docs.sonarsource.com/sonarcloud/appendices/scanner-environment/
    ```
---
 .github/workflows/main-sonar-check.yml | 4 ++--
 .github/workflows/sonar-check.yml      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/main-sonar-check.yml b/.github/workflows/main-sonar-check.yml
index cc27309f8a5..59ee7783e40 100644
--- a/.github/workflows/main-sonar-check.yml
+++ b/.github/workflows/main-sonar-check.yml
@@ -36,11 +36,11 @@ jobs:
         with:
           fetch-depth: 0
 
-      - name: Set up JDK11
+      - name: Set up JDK17
         uses: actions/setup-java@v3
         with:
           distribution: 'temurin'
-          java-version: '11'
+          java-version: '17'
           cache: 'maven'
 
       - name: Cache SonarCloud packages
diff --git a/.github/workflows/sonar-check.yml b/.github/workflows/sonar-check.yml
index a8282f25145..cbe987ea7fe 100644
--- a/.github/workflows/sonar-check.yml
+++ b/.github/workflows/sonar-check.yml
@@ -38,11 +38,11 @@ jobs:
           ref: "refs/pull/${{ github.event.number }}/merge"
           fetch-depth: 0
 
-      - name: Set up JDK11
+      - name: Set up JDK17
         uses: actions/setup-java@v3
         with:
           distribution: 'temurin'
-          java-version: '11'
+          java-version: '17'
           cache: 'maven'
 
       - name: Cache SonarCloud packages