Start Free
SonarQube Community Build | DevOps platform integration | Azure DevOps integration | Troubleshooting analysis

Troubleshooting the analysis running with Azure DevOps

On this page

See also Troubleshooting the analysis.

Azure build pipeline fails

If your Azure build pipeline fails on the analysis stage, check that you correctly set the integration at the global level. In particular, check the PAT failure points. See Preparing the integration in Setting up Azure DevOps integration at the global level.

Missing blame information or Could not find ref error

The errors “Missing blame information…” and “Could not find ref…” can be caused by checking out with a partial or shallow clone, or when using Git submodules. You should disable git shallow clone to make sure the scanner has access to all of your history when running analysis with Azure DevOps. 

For more information, see the MS article on Shallow fetch.

Self-signed certificate error on Prepare Analysis Configuration task

Try to add the server self-signed certificate as described in Adding the self-signed server certificate to the trusted CA certificates > If using Azure Pipelines.


Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License