SonarScanner CLI is the official scanner for projects that do not use a scanner integrated with their build system. It runs code analysis and sends the results to SonarQube Server or SonarQube Cloud.
Read the SonarScanner CLI documentation to install and run the scanner.
To learn more about the products this scanner works with, visit the SonarQube product page.
https://redirect.sonarsource.com/doc/install-configure-scanner.html
Project configuration is read from file sonar-project.properties or passed on the command line.
For more details on configuring your project, please refer to the official documentation.
For support questions ("How do I?", "I got this error, why?", ...), please head to the SonarSource forum. There are chances that a question similar to yours has already been answered.
Be aware that this forum is a community, so the standard pleasantries ("Hi", "Thanks", ...) are expected. And if you don't get an answer to your thread, you should sit on your hands for at least three days before bumping it. Operators are not standing by. :-)
If you would like to see a new feature, please create a new thread in the forum "Suggest new features".
Please be aware that we are not actively looking for feature contributions. The truth is that it's extremely difficult for someone outside SonarSource to comply with our roadmap and expectations. Therefore, we typically only accept minor cosmetic changes and typo fixes.
With that in mind, if you would like to submit a code contribution, please create a pull request for this repository. Please explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make.
Make sure that you follow our code style and all tests are passing (Travis build is executed for each pull request).
Copyright SonarSource Sàrl.
Licensed under the GNU Lesser General Public License, Version 3.0