It is very easy to integrate SonarQube with Bitbucket pipelines. Here’s a short guide on how to do it:
- Navigate to the left-side panel, then click 'Pipelines'.
- Choose the specific pipeline you wish to integrate.
- After that, tap the 'View Configuration' icon.
- Click 'Edit' at the top-right corner.
- Under the Configure tab, tap 'Add Pipes (Integrations)'.
- Search for 'SonarQube' and choose the integration you prefer to use. Subsequently, click the 'Copy Script' icon next to it.
- Click the code panel and paste the snippet.
- Once done, tap 'Commit'.
- Next, add a short commit message and click 'Commit' once again to proceed.
- After completing these steps, the selected Bitbucket pipeline will be integrated instantly with SonarQube.