Using a private Sonar org with a private project, we are having some issues with the Sonar quality gate coming back to Azure DevOps. It stays stuck in “waiting” state. I have confirmed that our PAT is good, the project seems set up properly, PR build and task seem correct. Example background task ID for troubleshooting: AYoeg69pQLpjFMrRDEXY
Welcome to the community!
Can you share your:
- Administration → Background Tasks → [row dots menu] → Show SonarScanner Context
- analysis log
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
This guide will help you find them.