Start FreeLog in
SonarQube Cloud | Advanced setup | CI-based analysis | Other CIs

Analyze your repository with another CI provider

To run an analysis on a CI provider other than those with specific integrations:

  1. Integrate the SonarScanner analysis into your build pipeline as explained in the corresponding scanner section: SonarScanner for .NET, Maven, Gradle, or NPM
  2. If necessary, adjust the analysis scope or other default analysis parameters
  3. Start and test the analysis.
  4. Add the branch analysis or pull request analysis to your pipeline.

Here is an example of a configuration for pull requests in a CI job:

sonar.pullrequest.base=master
sonar.pullrequest.branch=feature/my-new-feature
sonar.pullrequest.key=5

Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License