After upgrading Sonarqube to 10.6 and I’ve also migrated my sonarqube server and restore the old data that contains my all projects.
But after running my pipelines sonar step is failing.
Here is the SS-
In Sonarqube Pod, my java version is this-
After upgrading Sonarqube to 10.6 and I’ve also migrated my sonarqube server and restore the old data that contains my all projects.
But after running my pipelines sonar step is failing.
Here is the SS-
In Sonarqube Pod, my java version is this-
Hi @Tanish_Jain,
Starting from SonarQube v10.4, the sonar scanner requires a minimum version of Java 17 to run the analysis,
Does the agent/machine where you are running the analysis also have Java 17? Because the 4th line of the log says it still uses Java 11(Maybe it’s using the old cache?).
Also, this might be a good time to review and upgrade your sonar-scanner package to the latest available version - SonarScanner CLI
Thanks,
Aravind
Thanks for the suggestion. It works Now the above error has gone.
I’m using this image- sonarsource/sonar-scanner-cli:10.0. But after running the sonar checks I’m getting this error. Can you suggest here what to do?