Installing AccuRev SonarQube Plugin

This section describes how to install AccuRev SonarQube Plugin.

System requirements

Make sure you meet the following requirements before installing.

Server Operating Systems
  • Microsoft Windows Server 2012 R2 (64-bit)
  • Microsoft Windows 10 (64-bit)
  • Microsoft Windows 8.1 (64-bit)
  • Red Hat Enterprise Linux 7.x (64-bit)
  • Ubuntu 14.x (64-bit)
  • Mac OS 10.x (64-bit)
Client Browsers Requirements same as SonarQube.
SonarQube Requirements Find SonarQube requirements at

Back to top

Install AccuRev SonarQube Plugin

You must have SonarQube installed before installing the AccuRev SonarQube Plugin.

Download the AccuRev SonarQube Plugin and remember the download location.

AccuRev client should be available on the system.

Establish a valid user session using AccuRev client.

To install the AccuRev SonarQube Plugin:

  1. Navigate to the AccuRev SonarQube Plugin download location and copy accurev-sonarqube-<Release Version>.jar .
  2. Navigate to the SonarQube installation directory: $SONARQUBE_HOME/extensions/plugins.
  3. Existing users: Delete previous version of the plugin, if any and paste the accurev-sonarqube-<Release Version>.jar.
  4. Restart the SonarQube server to activate the plugin.

On the machine where SonarQube will access AccuRev, log into AccuRev Client before using SonarQube.

Note: While doing the analysis, the properties added in the file have the highest priority over the same property in the SonarQube AccuRev Web application.

Back to top

Verify installation

  1. Start the SonarQube server.
  2. Open a browser.
  3. Navigate to http://localhost:9000/settings?category=scm. The SonarQube 7.x site would appear as:

    The CategorySCM should contain AccuRev.

    In SonarQube 6.x, u should see the tabs for the installed plugins.

Back to top