We are using SonarQube 8.9.6 Community Edition and Sonar-scanner 2.8.
The sonar-scan stage is executed successfully in the Jenkins. After sonar-scan, we added API call in the script to retrieve the code coverage metrics data from SonarQube.
Error Message: ERROR - additionalMessage=[------------Issue in sonar data processing groovy.lang.MissingMethodException: No Signature of Method.
Note: We are facing this issue from last two days only, previously it was working fine. There are no changes in the pipeline script and no plugins were updated.
First of all, you’re using an extremely old version of the SonarQube scanner. You should upgrade to the latest version.
And, it looks like the error being thrown isn’t being thrown by anything related to the scanner, but specifically to your script/Jenkinsfile. If the API call is actually returning data (you might want to try a simple curl from your Jenkinsfile, outside of any other processing)… you are probably going to have to examine your script a bit closer.