Quality Gate Not failing for PR Analysis Inside docker Container

  • Versions used - SonarCloud 8.x
  • Error observed (wrap logs/code around triple quote ``` for proper formatting) - Quality gate is always passing the pr instead of having code smellls
  • Steps to reproduce
  • Potential workaround
  • Scanner command used when applicable (private details masked)
  • In case of SonarCloud:
    • ALM used (GitHub, Bitbucket Cloud, Azure DevOps)- Azure DevOps
    • CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI, Jenkins, other)- Azure DevOps

Hi @Titli_Basu

Sorry for the late reply.

How do you checkout / copy your code inside your docker container ? And also, how is ran the SonarScanner inside it ?

Thanks.
Mickaël