File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -807,6 +807,27 @@ Output is stored in the jdepend directory:
807807 $ ls jdepend/
808808 report.txt report.xml
809809
810+ 8.7 Using SonarQube
811+ -------------------
812+
813+ Use a sonar runner with included sonar-project.properties properties,
814+ e.g. using bash:
815+
816+ $ cd <checkout_dir> # it has to contain sonar-project.properties!
817+ $ export SONAR_RUNNER_OPTS="-Xmx768m -XX:MaxPermSize=256m"
818+ $ export SERVERIP=10.163.26.78
819+ $ ~//Projects/sonar-runner-2.3/bin/sonar-runner \
820+ -Dsonar.host.url=http://${SERVERIP}:9000
821+ -Dsonar.jdbc.url=jdbc:h2:tcp://${SERVERIP}:9092/sonar
822+
823+ 8.8 Using Travis CI
824+ -------------------
825+
826+ Please see .travis.yml, if your branch has this file,
827+ you should be able to connect your Github to Travis CI.
828+ OpenGroks Travis is here: https://travis-ci.org/OpenGrok/OpenGrok
829+
830+
8108319. Tuning OpenGrok for large code bases
811832---------------------------------------
812833
Original file line number Diff line number Diff line change 1+ # Required metadata
2+ sonar.projectKey =OpenGrok
3+ sonar.projectName =OpenGrok analyzed with the SonarQube Runner
4+ sonar.projectVersion =1.0
5+
6+ # Comma-separated paths to directories with sources (required)
7+ sonar.sources =src
8+ # ,generatedsrc
9+ sonar.binaries =build,dist
10+
11+ sonar.libraries =dist/*.jar,dist/lib/*.jar
12+
13+ # Language
14+ sonar.language =java
15+
16+ # pmd
17+ sonar.java.source =1.7
18+
19+ # findbugs
20+ sonar.findbugs.excludesFilters =tools/findbugs_filter.xml
21+
22+ # code coverage
23+ sonar.dynamicAnalysis =reuseReports
24+ sonar.junit.reportsPath =build/test/results/
25+ sonar.java.coveragePlugin =emma
26+ sonar.emma.reportPath =coverage/
27+
28+ # Encoding of the source files
29+ sonar.sourceEncoding =UTF-8
You can’t perform that action at this time.
0 commit comments