The Bitnami SonarQube Stack includes the plugins below by default:
Install plugins from the Admin Dashboard
You can install plugins from the Admin Dashboard. To install a new plugin in SonarQube, follow these steps:
- Log in to the SonarQube dashboard and click on the “Administration” tab.
- Under the “System” dropdown menu, click on “Update center”.
- Select the “Available” tab and search for the plugin you want to install.
- Click on the “Install” button.
- Once the process finishes, you will be prompted to restart SonarQube in order to complete the installation. Click on the “Restart” button.
- You will be prompted to confirm the action. Click again on the “Restart” button. This could take a few minutes.
- That’s it! Now you can navigate to the “Update center” again and check that your plugin is installed.
Manually install plugins
To install a SonarQube plugin, download the plugin (.jar file) and save it in the /opt/bitnami/sonarqube/sonarqube/extensions/plugins/ directory. Then, change the file ownership to sonarqube user.
Here is an example of installing the GitHub plugin for SonarQube:
- Log in to the server console.
- Navigate to the /opt/bitnami/sonarqube/sonarqube/extensions/plugins/ directory.
Download the latest version of the plugin JAR by running the command below:
$ sudo wget https://sonarsource.bintray.com/Distribution/sonar-github-plugin/sonar-github-plugin-188.8.131.522.jar
Change the ownership.
$ sudo chown -R sonarqube:sonarqube sonar-github-plugin-184.108.40.2062.jar
Restart SonarQube using the graphical manager or the command-line script:
$ sudo /opt/bitnami/ctlscript.sh restart sonarqube