-
Notifications
You must be signed in to change notification settings - Fork 88
/
sonar-runner.properties
36 lines (27 loc) · 1.16 KB
/
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
33
34
35
36
#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=/usr/src
sonar.sources=./
# Exclude node_modules for JS/TS-based scanning - this is provided in default configuration from
# the server, but in case you want to provide it locally and/or override it here:
# sonar.exclusions=**/node_modules/**