Unable to use Yamal pipeline to scan ant build

Hi,

We are using Sonarqube for our code analysis. When we are using the Yamal pipeline to scan the Ant Build we are getting an error message but when we are using the classic editor the pipeline is running fine . We would like to know if the ant build works on the YAML pipeline or not. If it works would you please see the attached log and let me know how to fix the issue.

Ant Build issue.txt (26.6 KB)

Thank you
Jefin Reji

Hi,

Welcome to the community!

From parts of your log I deduce that you are using a very old version of SonarQube, which is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Without knowing your version exactly, I can’t give you your full upgrade path, but it goes through :

[your version] → 6.7.7??? → 7.9.6 → 8.9.3 → 9.1 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

I suspect you may also be using an old version of the Ant task? You should check whether that’s upgradable as well.

 
Ann