User Tools

Site Tools


linux:sonar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:sonar [2018/07/11 14:38] – created percylinux: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
 +<code>
 +plugins {
 +  id "org.sonarqube" version "2.6"
 +}
 +</code>
 +
 +Then run it for your project
 +<code>
 +./gradlew sonarqube \
 +  -Dsonar.host.url=http://127.0.0.1:9000 \
 +  -Dsonar.login=5562755a8827e8de31011b81eada980cb39ad0e3
 +</code>
/var/www/dokuwiki/wiki/data/pages/linux/sonar.txt · Last modified: 2018/07/11 14:42 by percy