Gitlab integration for ant project is not working

Hi Community,

I am trying to integrate my ant Project from GitLab with SonarQube.
I am following this doc [GitLab Integration | SonarQube Docs]( GitLab integration (sonarsource.com)).
I have configured the Application ID and added it to SonarQube.
I have configured the variables for sonarqube in GitLab.
Sonarqube version : 8.9 LTS

When I have added Project but while doing analysis from pipeline execution it is failing.
using following ant command “ant sonar -Dsonar.login=yourAuthenticationToken”
But for maven project working fine with following command “mvn sonar:sonar -Dsonar.login=myAuthenticationToken”

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.9 → 9.9.2 → 10.2.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

And, upgrade or not, the SonarScanner for Ant is deprecated and we encourage users to move from the SonarScanner for Ant to the vanilla SonarScanner. See the documentation here.