Using Sonarcloud with Circle CI through sonarsource/sonarcloud orb.
This orb performs a scan and upload results to sonarcloud and that’s working well.
Now, I would like my CI job to:
- fail if quality gate is not reached
- succeed if quality gate is passed
Currently, the orb is always passing (because scan and upload are successful) but even if quality gate does not pass. How could I check if quality gate is not ok after scan/uploda from CircleCI to stop my workflow and alert me?