|Latest version||2.4 ( 28 Apr 2014 )|
|Requires SonarQube version||3.7 or higher|
|License||GNU LGPL 3|
The SonarQube Runner is recommended as the default launcher to analyze a project with SonarQube.
- Java 6 or higher
- SonarQube is already installed
- Uncompress the downloaded file into the directory of your choice. We'll refer to it as <install_directory> in the next steps.
Update the global settings (database connection, server URL) by editing <install_directory>/conf/sonar-runner.properties:
- Create a new SONAR_RUNNER_HOME environment variable set to <install_directory>.
- Add the <install_directory>/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 is
sonar-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
You are now ready to analyze a project with the SonarQube Runner.