Other CIs

Running an analysis on a CI provider other than those with specific integrations.

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:

  2. If necessary, adjust the Analysis scope or customize other default Analysis parameters.

  3. Start and test the analysis.

  4. Add the branch analysis or pull request analysis to your pipeline. See the Branch analysis setup and Pull request analysis pages for more information.

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

Last updated

Was this helpful?