Error on Run Code Analysis

Hi Team,

I am experiencing an issue with the code analysis failing for my project on SonarCloud. Below are the details:

Steps to Reproduce:

  1. Navigate to the project dashboard.

  2. Trigger a new code analysis using the provided CI/CD pipeline.

  3. Observe the error message in the analysis logs.

Expected Results:

The code analysis should be completed successfully without errors.

Actual Results:

The code analysis fails with the following error message: [attach error message or log file]

Attachments:

  • [ErrorLog.txt](attach log file)

Priority: High (Blocks production deployment)

ErrorLog.txt (224.6 KB)

Hey there. :wave:

I’m pretty confused how your pipeline gets so far but then throws this error. :thinking:

Can you share your Azure DevOps Pipeline YML file?

hey colin,

sorry for the delay attached is the YML File please have it reviewed
YmlFile.txt (4.4 KB)

Thanks. It looks like sense you raised this issue, you updated the version of the SonarCloudAnalyze task you use in your build from @1 to @2)

steps:
- task: SonarSource.sonarcloud.14d9cde6-c1da-4d55-aa01-2965cd301255.SonarCloudPrepare@2

Could you provide some fresh logs, and also add sonar.verbose=true to the extraProperties block to emit debug logging?