Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SonarQube Runner vs Scanner

What is the difference btw Sonar Runner and Sonar Scanner?.

And which version of "Sonarqube" and Sonar runner is required for JDK7?

like image 723
devinabagre Avatar asked Oct 04 '16 11:10

devinabagre


People also ask

What is SonarQube runner?

SonarQube is an open-source automatic code review tool to detect bugs, vulnerabilities and code smell in your code.

What is the difference between SonarQube and Sonar scanner?

SonarQube is the central server holding the results of analysis. SonarQube Scanner / sonar-scanner - performs analysis and sends the results to SonarQube. It is a generic, CLI scanner, and you must provide explicit configurations that list the locations of your source files, test files, class files, ...

What is a SonarQube scanner?

What is SonarQube Scanner? SonarQube is a very popular static analysis tool that scans code for quality and security issues. SonarQube has community and commercial versions with a wide range of support for various coding languages.

Is Sonar scanner is the default scanner of SonarQube?

The SonarScanner is the scanner to use when there is no specific scanner for your build system.


1 Answers

Answer is very simple: "Runner" is the old name for "Scanner".

Everything you need to know about the different SonarQube Scanners is available on the Scanners part of the official documentation.

If you're stuck to Java 7, then you can use:

  • SonarQube Runner (sonar-runner) up to version 5.5 of SonarQube
  • SonarQube Scanner (sonar-scanner) 2.6.1
like image 123
Fabrice - SonarSource Team Avatar answered Sep 20 '22 19:09

Fabrice - SonarSource Team