Quality Gate Result published from Azure DevOps emtpy in SonarCloud

Everything seems ok on azure side, but SonarCloud dashboard is empty :frowning:

Sonarcloud not working for AzureDevOps project

  • ALM (Azure DevOps)

  • CI Azure DevOps

  • Scanner command used when applicable (private details masked)

  • .NET Core 3.0.100

  • There isn’t any error message in the logs.

  • It happens in every build

  • Prepare Analysis Configuration Version : 1.9.0

  • Run Code Analysis Version : 1.9.0
    SonarQube Scanner 4.1.0.1829
    Java 1.8.0_232 Azul Systems, Inc.
    Linux 5.0.0-1023-azure amd64
    SonarQube server 8.0.0
    SonarCloud 8.0.0.2898

  • Publish Quality Gate Result Version : 1.9.0

At the end of “Code Analysis” log, I got this:
note: I replaced some text with [***]

01:48:35.946 INFO: CPD calculation finished
01:48:36.443 INFO: Analysis report generated in 446ms, dir size=9 MB
01:48:37.668 INFO: Analysis report compressed in 1225ms, zip size=2 MB
01:48:37.669 INFO: Analysis report generated in /home/vsts/work/1/s/.scannerwork/scanner-report
01:48:37.669 DEBUG: Upload report
01:48:38.535 DEBUG: POST 200 https://sonarcloud.io/api/ce/submit?organization=[]&projectKey=[]&projectName=[] | time=866ms
01:48:38.537 INFO: Analysis report uploaded in 868ms
01:48:38.550 INFO: ANALYSIS SUCCESSFUL, you can browse https://sonarcloud.io/dashboard?id=[
]

01:48:38.731 INFO: ------------------------------------------------------------------------
01:48:38.731 INFO: EXECUTION SUCCESS
01:48:38.732 INFO: ------------------------------------------------------------------------

Hi @joaovieirabr and welcome to the community !

Are you using the Scanner for MSBuild ?

Thanks.

Mickaël

Hi @mickaelcaro. Nop, I’m using the standalone scanner. The MSBuild scanner hangs and stop responding after a few projects being compiled.

Hi,

That’s kind of weird, could you please sent a relevant part of the log for that please ?

That is the only way to have dotnet issues by the way, so that’s normal that you don’t have any issue on SonarCloud’s dashboard.

Mickaël

Body is limited to 32000 characters; you entered 817355.
Sorry, new users can only put 6 links in a post.