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.