forked from newtmitch/docker-sonar-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-runner.properties
32 lines (24 loc) · 972 Bytes
/
sonar-runner.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
#Configure here general information about the environment, such as SonarQube DB details for example
#No information about specific project should appear here
#----- Default SonarQube server
sonar.host.url=http://sonarqube:9000
#----- Default source code encoding
#sonar.sourceEncoding=UTF-8
#----- Global database settings (not used for SonarQube 5.2+)
#sonar.jdbc.username=sonar
#sonar.jdbc.password=sonar
#----- PostgreSQL
#sonar.jdbc.url=jdbc:postgresql://localhost/sonar
#----- MySQL
#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
#----- Oracle
#sonar.jdbc.url=jdbc:oracle:thin:@localhost/XE
#----- Microsoft SQLServer
#sonar.jdbc.url=jdbc:jtds:sqlserver://localhost/sonar;SelectMethod=Cursor
# H2 database from Docker Sonar container
sonar.jdbc.url=jdbc:h2:tcp://sonarqube/sonar
sonar.projectKey=MyProjectKey
sonar.projectName=My Project Name
sonar.projectVersion=1
sonar.projectBaseDir=/root/src
sonar.sources=./