linux:sonar
Differences
This shows you the differences between two versions of the page.
linux:sonar [2018/07/11 14:38] – created percy | linux:sonar [2018/07/11 14:42] (current) – percy | ||
---|---|---|---|
Line 12: | Line 12: | ||
docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube | docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube | ||
+ | ===== Integrate with gradle project ===== | ||
+ | |||
+ | Add to build.gradle | ||
+ | < | ||
+ | plugins { | ||
+ | id " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Then run it for your project | ||
+ | < | ||
+ | ./gradlew sonarqube \ | ||
+ | -Dsonar.host.url=http:// | ||
+ | -Dsonar.login=5562755a8827e8de31011b81eada980cb39ad0e3 | ||
+ | </ |
/var/www/dokuwiki/wiki/data/pages/linux/sonar.txt · Last modified: 2018/07/11 14:42 by percy