GoogleCloudPlatform / cloud-builders-community

Community-contributed images for Google Cloud Build
https://cloud.google.com/cloud-build/
Apache License 2.0
1.25k stars 851 forks source link

fix: sonarqube openjdk version upgraded from 11 to 17 #648

Closed avidueiram closed 6 months ago

avidueiram commented 6 months ago

This PR changes the version of openjdk on Sonarqube from 11 to 17.

Currently Sonarqube scanner throws the following error:

ERROR: Error during SonarScanner execution
ERROR: 

The version of Java (11.0.21) used to run this analysis is deprecated, and SonarCloud no longer supports it. Please upgrade to Java 17 or later.
You can find more information here: https://docs.sonarsource.com/sonarcloud/appendices/scanner-environment/