How to get Quality Gate Status of Sonarcloud from Github

  • ALM: Github
  • CI: Jenkins
  • Languages of the repository : Java

How to get Quality Gate Status of Sonarcloud from Github?
Github: PR > Hooks > Jenkins: sonar-scanner > Sonarcloud: New Code Scans > Github: Check Sonarscan Quality Gates if Passed > Github: Allow Merge > Hooks > Jenkins: Build …

Hi @paul-manalili welcome to the community.

Not sure to have fully understand your need. However, here’s what we propose regarding quality gate status / webhooks

  • Webhooks are posted upon each analysis completion : see the doc here
  • Otherwise, Quality Gate status can be checked for a project, using our web api, documented here

HTH,
Mickaël