Created
December 13, 2019 16:15
-
-
Save cnmoro/d2f43603a1fb30686879f05d1cb516b9 to your computer and use it in GitHub Desktop.
SonarQube Mini Guia
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run -d --name sonarqube -p 9000:9000 sonarqube | |
## se ja existir | |
# docker ps | |
# sudo docker restart ID | |
com gradle 5.5.1 ou maior > | |
alterar ~/.gradle/gradle.properties | |
adicionar: systemProp.sonar.host.url=http://localhost:9000 | |
build.gradle a nivel de projeto, adicionar: | |
plugins { | |
id "org.sonarqube" version "2.7" | |
} | |
rodar 'gradle sonarqube' | |
-- | |
se for com maven | |
utilizar 'sonar:sonar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment