which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - SonarQube@6 task of Azure devops
what are you trying to achieve - We are doing sonar scan on enterprise GIT repository. While publishing report on sonar project, publish task is getting timeout. Timeout is set to be 600 seconds but still it gets timeout.
what have you tried so far to achieve this - Sometime report gets published on sonar project but it takes more than 8 mins to get published. Sometimes publishing of report on sonar project get failed due to timeout exceeded.
Could you please tell reason why it takes more than 8 mins for publishing of sonar report on sonar project?
It’s running for a while because it’s waiting for the analysis report to be processed SonarQube server-side. You aren’t obligated to wait for this, and can remove sonar.qualitygate.wait=true from your Azure DevOps Pipeline configuration.
This means your build won’t fail on a failing Quality Gate.
If you suspect that the processing itself is taking too long, I refer back to my previous points.
Do you have other background tasks running that could be blocking this project’s analysis report from being processed right away?