forked from ffromm/build-blocker-plugin
-
Notifications
You must be signed in to change notification settings - Fork 46
/
sonar-project.properties
36 lines (24 loc) · 1.06 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# required metadata
sonar.projectKey=build-blocker-plugin
sonar.projectName=Build Blocker Plugin for Jenkins
# path to source directories (required)
sonar.sources=src/main/java
sonar.projectVersion=1.4-SNAPSHOT
# path to test source directories (optional)
sonar.tests=src/test/java
# path to project binaries (optional), for example directory of Java bytecode
sonar.binaries=target/classes,target/test-classes
# The value of the property must be the key of the language.
sonar.language=java
#Tells SonarQube to reuse existing reports for unit tests execution and coverage reports
sonar.dynamicAnalysis=reuseReports
#Tells SonarQube where the unit tests execution reports are
sonar.surefire.reportsPath=target/surefire-reports
#Tells SonarQube that the code coverage tool by unit tests is JaCoCo
sonar.java.coveragePlugin=jacoco
#Tells SonarQube where the unit tests code coverage report is
sonar.jacoco.reportPath=target/jacoco.exec
#Tells where the coverage report is
coverage.reports.dir=target/coverage-reports
# Encoding of the source files
sonar.sourceEncoding=UTF-8