Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
titleExample with SonarQube Scanner
sonar-scanner -Dsonar.analysis.mode=preview \
              -Dsonar.github.pullRequest=$PULL_REQUEST_ID \
              -Dsonar.github.repository=myOrganisation/myProject \
              -Dsonar.github.oauth=$GITHUB_ACCESS_TOKEN \

Real-life Example

SonarSource is using this plugin to analyse every pull request that SonarSource developers create when working on a feature / improvement / bug fix.

For instance, you can take a look at the GitHub repository of the SonarQube project itself:

Have Question or Feedback?