Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »


This feature is available since Sonar 2.6.


  • Java 1.5 or higher
  • Sonar 2.6 or higher. The server must be up when analyzing projects.

Installation / Usage

  1. Download the Java Runner from http://repository.codehaus.org/org/codehaus/sonar-plugins/sonar-runner/1.0/sonar-runner-1.0.jar
  2. For Windows define a SONAR_RUNNER_HOME environment variable. It is not required for unix boxes.
  3. Edit the file /conf/sonar-runner.properties with global settings (database connection, server URL)
  4. For each project create the file sonar-project.properties in the base directory :
    For advanced features such as reusing existing unit test reports, you can set advanced parameters in this file or in command-line parameters. 
  5. Execute path/to/bin/sonar-runner or %SONAR_RUNNER_HOME%/bin/sonar-runner.bat from project base directory.


com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.
  • No labels