Using Gocd pipeline but not sure how to integrate with sonarqube

How can I integrate our gocd pipeline to use sonar quality gates.

Hey there.

While there’s no native integration with GoCD, you can run the SonarScanner anywhere (it’s just a CLI tool), as well as the other scanners (for MSBuild, Maven, etc.)

It’s probably a good start to tell us what you’ve tried already, where you’ve fallen short, and what exactly you’re trying to accomplish.