Skip branch policy quality gate some cases

  • ALM used - Azure DevOps
  • CI system used- Azure DevOps
  • Scanner command used when applicable (private details masked)
  • Languages of the repository
  • Only if the SonarCloud project is public, the URL
    • And if you need help with pull request decoration, then the URL to the PR too
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
  • Steps to reproduce

I currently use sonarcloud and use the quality gate policy to stop a pull request that does not meet the quality gate.

I need to bypass in some cases, and I thought about my template using the “sonar.buildbreaker.skip” parameter, but in the tests I carried out I was not successful.
Does this parameter work for sonarcloud? If not, is there any way to bypass the quality gate branch policy? For example, using some configuration in the sonar properties file?

Hi,

Build Breaker is an abandoned plugin for SonarQube. It is not available on SonarCloud, and it’s parameters will have no effect there.

Currently, the only way to address your situation is with manual overrides.

 
HTH,
Ann

Hi @andressantos10

Thanks for your insight.
May I ask why do you need to bypass? In which cases? Could you elaborate please?

Best

Alexander