Michal Slovík
Michal Slovík
Home
Posts
Projects
Light
Dark
Automatic
sonarqube
99 Problems
My repository for 99 (most common) problems. Ideally for learning new langauge
Scan SonarQube branches and pull request branches without paid licenses
Definition of problem When you would like to scan your code with SonarQube and you have running on your own environment, sometimes you need to scan not master branches. Idea is that only "clean" code should be in master branch.
Jul 15, 2020
1 min read
Sonar Qube on Maven/Gradle project
Add local SonarQube Start sonar qube with docker $ docker run -d --name sonarqube -p 9000:9000 sonarqube Insert sonar plugin to pom.xml (maven) <build> <plugins> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>3.6.0.1398</version> </plugin> </plugins> </build> Check with sonar quality of your code $ mvn sonar:sonar Insert into gradle project plugins { id "org.
Nov 26, 2019
1 min read
Cite
×