Sonarcloud issues with Azuredevops

we are still facing this issue across different Azure DevOps pipelines.

The issue appears when running SonarCloudPrepare@2 / SonarCloudPrepare@3 tasks, or SonarCloudPublish@2 / SonarCloudPublish@3 tasks.

It is intermittent, as in, does not show up on all pipeline runs (devs currently re-running pipelines until it works).
And we’ve ruled out network/FW as a source of the issue.

Current state of troubleshooting efforts:

  • Seems to only show up on pipelines using scannerMode: ‘CLI’, pipelines using scannerMode: ‘dotnet’ seem unaffected.

  • Forcing an older version of SonarScanner (cliScannerVersion: ‘5.0.2.4997’) didn’t resolve the issue as per this community link. Prepare Analysis Configuration Fails in version 6.3.2

(as the issue is intermittent, it’s hard to troubleshoot and be certain on solution attempts)

Please let us know if you have any suggestions on how to proceed.

A post was merged into an existing topic: Intermittent issues being experienced with Azure DevOps Pipeline