| Name | SonarQube Runner |
|---|---|
| Latest version | 2.2.2 ( 7 June 2013 ) |
| Requires SonarQube version | 3.0 or higher ( check version compatibility ) |
| Download | http://repo1.maven.org/maven2/org/codehaus/sonar/runner/sonar-runner-dist/2.2.2/sonar-runner-dist-2.2.2.zip |
| License | GNU LGPL 3 |
| Developers | Evgeny Mandrikov, Simon Brandhof, Fabrice Bellingard |
| Issue tracker | http://jira.codehaus.org/browse/SONARPLUGINS/component/14640 |
| Sources | https://github.com/Sonarsource/sonar-runner |
Features
The SonarQubeRunner is recommended as the default launcher to analyze a project with SonarQube.
Prerequisites
- Java 6 or higher
Installation
- Uncompress the downloaded file into a directory named $SONARQUBE_RUNNER_HOME in the next steps.
Update the global settings (database connection, server URL) by editing the $SONARQUBE_RUNNER_HOME/conf/sonar-runner.properties file:
- Create a new SONAR_RUNNER_HOME environment variable set to $SONARQUBE_RUNNER_HOME.
- Add the $SONAR_RUNNER_HOME/bin directory to your path.
You can check the basic installation by opening a new shell and executing the command
sonar-runner -h(on Windows platform the command issonar-runner.bat -h) . You should get a message like this:
If you need more debug information you can add the sonar.verbose property by adding the command line parameter -Dsonar.verbose=true.
You are now ready to analyze a project with the SonarQube Runner.
Change Log
| Version 2.2.1 (1 issues) | |||
|---|---|---|---|
| Type | Key | Summary | Priority |
|
|
SONARPLUGINS-2862 | Fresh installation of Sonar Runner doesn't work on Mac OS X 10.8.3 |
|

