On this page

Pending operationsRestart SonarQubeManual updatesWhich URLs does the Marketplace connect to?Using the Marketplace behind a proxyDeploying to the Marketplace

Marketplace

Administrators can access the Marketplace via Administration > Marketplace. The Marketplace is the place for keeping the pieces of the SonarQube platform up to date. It lets you:

See

  • The currently installed SonarQube Edition
  • Which plugins are installed
  • Whether plugin updates are available
  • Which other plugins are compatible with your version of SonarQube

Discover

  • Which other Editions are available, to enable more features

Install

  • New plugins
  • Plugin updates

To view/install plugin updates, your SonarQube server needs internet access. Installations require the platform to be restarted before they take effect.

Pending operations

When you perform an action in the Marketplace (install, update, or uninstall a plugin), a yellow banner appears at the top of the page showing pending operations that will be executed once SonarQube is restarted. Pending operations can be canceled until the server is restarted.

Restart SonarQube

Restarting SonarQube can be done manually from the command line by running sonar.sh restart. In SonarQube Community Edition, you can also restart from the UI, in the Update Center. When you have Pending Changes, the restart button will be displayed in the yellow banner (see Pending Operations). Please note that restarting the server won't reload the changes applied to the sonar.properties.

Manual updates

If you're using a commercial edition or your server doesn't have internet access, you won't be able to rely on the Marketplace for plugins, and you will have to handle plugin installations and upgrades manually.

To see what plugins are available and which version of a plugin is appropriate for your server, use the plugin version matrix, which is kept up to date with current plugin availability and compatibility.

To install a plugin, simply download it using the manual download link on the plugin documentation page, place it in <SONARQUBE_HOME>/extensions/plugins, and restart the server.

Stopping the Marketplace from searching for plugin updates

Your SonarQube server needs internet access for the Marketplace to search for plugin updates. If your server doesn't have internet access, 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 <SONARQUBE_HOME>/conf/sonar.properties.

Which URLs does the Marketplace connect to?

The SonarQube Marketplace connects to https://update.sonarsource.org/ to get the list of plugins. Most of the referenced plugins are downloaded from:

If you are getting this error in the logs when trying to use the Marketplace:

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required

then you probably upgraded your Java 8 installation with an update greater than 111. To fix that, update <SONARQUBE_HOME>/conf/sonar.properties like this:

sonar.web.javaOpts=-Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djdk.http.auth.tunneling.disabledSchemes=""

Reference: http://www.oracle.com/technetwork/java/javase/8u111-relnotes-3124969.html

Using the Marketplace behind a proxy

Marketplace uses HTTP(S) connections to external servers to provide these services. If SonarQube is located behind a proxy, additional information must be provided in <SONARQUBE_HOME>/conf/sonar.properties:

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> 

Note: The same properties can be used in the https.* form for HTTPS connections.

Deploying 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.

© 2008-2022, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution-NonCommercial 3.0 United States License. SONARQUBE is a trademark of SonarSource SA. All other trademarks and copyrights are the property of their respective owners.

Creative Commons License