Include Code Quality for Bitbucket receives the analysis results from SonarQube™ via Webhook.

Options for Webhook setup

Manual webhook setup

To manually configure the webhook, enable "manual webhook configuration" in the SonarQube™ server settings. For the manual webhook you have two options:

For SonarQube™ 7.7, please make sure to pass -Dsonar.analysis.scmRevision=COMMIT_ID to your SonarQube™ analysis. For newer SonarQube™ versions, this is not necessary anymore.