Feel free to support the development with a donation for the next improvements.
SonarQube (formerly Sonar) is an open-source platform for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs, code smells, and security vulnerabilities on 20+ programming languages. SonarQube offers reports on duplicated code, coding standards, unit tests, code coverage, code complexity, comments, bugs, and security vulnerabilities. It can record metrics history and provides evolution graphs. Provides fully automated analysis and integration with Maven, Ant, Gradle, MSBuild and continuous integration tools (Atlassian Bamboo, Jenkins, Hudson, etc.).
Zebrunner SonarQube image is pre-configured SonarQube v9.8 with community branch plugin installed for static code analysis.
It is fully integrated into the Zebrunner Community Edition Server pipeline for Test Automation code inspection and user's guidelines.
Detailed configuration steps can be found here.
Requirements | |
---|---|
Operating System | Ubuntu 16.04 - 22.10 Linux CentOS 7+ Amazon Linux 2 |
CPU | 2+ Cores |
Memory | 8 Gb RAM |
Free space | SSD 64Gb+ of free space |
-
Install docker (Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, Amazon Linux 2, Redhat/Cent OS)
-
Install docker-composer 1.25.5+
-
Install git 2.20.0+
- Clone Sonarqube and start:
git clone https://github.com/zebrunner/sonarqube.git && cd sonarqube && ./zebrunner.sh start
- After the startup, SonarQube be available:
Use your host address instead of
hostname
!
Component | URL |
---|---|
SonarQube | http://hostname:9000/sonarqube |
admin/admin crendetials should be used.