Starting: Publish SonarCloud analysis
==============================================================================
Task : Publish Quality Gate Result
Description : Publish SonarCloud's Quality Gate result on the Azure Pipelines build result. To be used after the actual analysis.
Version : 1.9.0
Author : sonarsource
Help : [More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html)
==============================================================================
##[error][SQ] Could not fetch metrics
##[error][SQ] API GET '/api/metrics/search' failed, error was: {"code":"CERT_HAS_EXPIRED"}
##[error][SQ] API GET '/api/server/version' failed, error was: {"code":"CERT_HAS_EXPIRED"}
Finishing: Publish SonarCloud analysis
Thanks for letting us know about the issue. It seems to be isolated to the Publish Quality Gate Result step. Teams are still investigating, and for now if you’re affected I would advise you to temporarily disable that step. Analyses should still be sent to SonarCloud and processed.
We have the same issues with many other domains and curl. They share a CA certificate that has expired. Browsers seems to be fine right now but command line tools like curl and openssl are reporting errors.
You may want to look at this page. I do not have a repro for the curl issue, but my OS and patching level might differ. The page before suggests that up to date systems should work correctly.
Thank you, I found that page and also got pointers to old software. I thought I used the latest version of curl but I did not. I used the bundled version from macos (7.54 in my case) and not the one I installed using Homebrew. Using 7.67 or 7.70 fixes this bug.
Hello. Im having the same problem. I think this is causing Prepare Analysis task to fail (SonarCloudPrepare task) when running it with “Integrate with MSBuild”