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”
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.