We analyze our projects with the sonarqube gradle plugin, called from Jenkins, with ALM being Bitbucket Cloud.
For some time now, we have random analysis failures with the following error message on the sonarcloud background task:
For input string: “Unknown”.
The stange thing is that the gradle sonarqube task ends successfully with the following log:
Analysis report uploaded in 228ms
ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?.…
Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
More about the report processing at https://sonarcloud.io/api/ce/task?id=…
Analysis total time: 45.776 s
:sonarqube (Thread[Execution worker for ‘:’ Thread 7,5,main]) completed. Took 1 mins 5.042 secs.
I do not understand these failures and the error message is not helping. Could you please help me debugging these failures?