Using SonarQube Marketplace
Administrators can access the SonarQube Marketplace via Administration > Marketplace. The Marketplace tab is the place for keeping the pieces of your SonarQube platform up to date. It lets you:
See:
- Which plugins are installed
- Whether plugin updates are available
- Which other plugins are compatible with your version of SonarQube
Discover:
- Which other SonarQube implementations are available, to enable more features
Install:
- New plugins
- Plugin updates
A third-party website called sonarplugins.com also exists. This website is not the same as the Marketplace and is not endorsed by, affiliated with, maintained, authorized, or sponsored by Sonar.
Setting up SonarQube to connect to the internet
Your SonarQube Community Build instance needs internet access to check for and install plugin updates. If your SonarQube is located behind a proxy, additional set up is required.
Internet sites used by the Marketplace
The Marketplace connects to https://downloads.sonarsource.com/?prefix=sonarqube/update to get the list of plugins. Most of the referenced plugins are downloaded from:
If your instance is secured behind a proxy
Marketplace uses HTTP(S) connections to external servers to provide these services. If your SonarQube is located behind a proxy, you must provide additional information in <sonarqubeHome>/conf/sonar.properties
as shown below. The same properties can be used in the https.*
form for HTTPS connections.
http.proxyHost=<your.proxy.host>
http.proxyPort=<yout.proxy.port>
#If proxy authentication is required
http.proxyUser=<your.proxy.user>
http.proxyPassword=<your.proxy.password>
If your instance doesn't have internet access
- To install a plugin, see Installing a plugin manually.
- You may get errors in your logs when the Marketplace tries to search for new plugins. You can stop this by updating
sonar.updatecenter.activate
in<sonarqubeHome>/conf/sonar.properties
.
Installing, updating, or uninstalling a plugin
You need the Administer System global permission to perform these operations.
To install or update a plugin:
- Go to Administration > Marketplace > Plugins.
- Retrieve the plugin or plugin update you want to install and select Install.
Once the download is complete, a Restart button will be available to restart your instance. Restarting will enable the new plugin. This restart will not take into account any change tosonar-properties
settings. - Select the Restart button.
To uninstall a plugin:
- Go to Administration > Marketplace > Plugins.
- Retrieve the plugin you want to uninstall and select Uninstall.
Deploying your plugin to the Marketplace
If you have developed a SonarQube plugin, you can check out the requirements for adding it to the Marketplace in the Plugin Development community.
Was this page helpful?