Azure DevOps: error in Sonar publish quality tas-No analyses found in this build!

When I run the pipeline, it doesn’t throw an error but it generates one warnings:

Starting: SonarQubePublish
==============================================================================
Task         : Publish Quality Gate Result
Description  : Publish SonarQube's Quality Gate result on the Azure DevOps build result, to be used after the actual analysis.
Version      : 4.9.2
Author       : sonarsource
Help         : Version: 4.9.2. [More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html)
==============================================================================
##[warning]This task uses Node 6 execution handler, which will be deprecated soon. If you are the developer of the task - please consider the migration guideline to Node 10 handler - https://aka.ms/migrateTaskNode10. If you are the user - feel free to reach out to the owners of this task to proceed on migration.
**##[warning]No analyses found in this build! Please check your build configuration.**

and in the sonaqube dashboard, no results were observed.

Hi,

Welcome to the community!

Can you provide the full analysis log?

 
HTH,
Ann