Overview
SonarQube Server supports integration on multiple platforms allowing you to maintain code quality and security in your projects.
Last updated
Was this helpful?
SonarQube Server supports integration on multiple platforms allowing you to maintain code quality and security in your projects.
Pull request analysis is available as part of Developer Edition and above.
You can ensure your code meets your quality standards by failing your pipeline job when your Understanding quality gates fails. The operation depends on the CI tool used.
With Jenkins, you can suspend pipeline execution until the analysis’ quality gate status is known. See the Key features integration pages.
With GitHub Actions, you can fail the pipeline job when the quality gate fails using the SonarQube Quality Gate Check Action.
With Bitbucket Pipelines, you can fail the pipeline job when the quality gate fails using the SonarQube Quality Gate Check Pipe.
You can configure the SonarScanner to wait for the quality gate result. This setting will force the pipeline to fail if the quality gate fails.
To do so:
Set the sonar.qualitygate.wait analysis parameter to true.
You can set the sonar.qualitygate.timeout analysis parameters to the number of seconds that the scanner should wait for a report to be processed. The default is 300 seconds.
For general information on setting up analysis parameters, see Analysis parameters and the respective SonarScanner section: SonarScanner for Maven, SonarScanner for Gradle, Configuring the scanner, Configuring the scanner, SonarScanner for Python, or SonarScanner CLI.
For GitLab CI/CD configuration, see the Adding analysis to GitLab CI/CD pipeline page.
For GitHub Actions configuration, see the Introduction page.
For Azure Pipelines configuration, see the Introduction section.
For Bitbucket Pipelines configuration, see the Bitbucket Cloud integration page.
For Jenkins configuration, see Jenkins extension.
Last updated
Was this helpful?
Was this helpful?

