Need help for sonar target configuration using ant

Hi,

i recommend updating your Sonarqube instance to the latest LTS, which is 7.9.1
get it here Download | SonarQube
you have to use the latest version of Sonarqube ant task
https://binaries.sonarsource.com/Distribution/sonarqube-ant-task/sonarqube-ant-task-2.6.0.1426.jar
Sonarqube server requires Java 11 to run, analysis needs Java 8 at least
Release upgrade notes
SonarQube 7.9 LTS Released - #12 by ganncamp

Note
MySQL is not supported anymore
If using sonar.search.javaOpts in $SONARQUBE_HOME/conf/sonar.properties
the Xms and Xmx parameters have to be equal, default is

sonar.search.javaOpts=-Xms2G -Xmx2G -XX:+HeapDumpOnOutOfMemoryError

Gilbert

1 Like