mirror of
https://github.com/Balshgit/sonar-scanner.git
synced 2025-12-11 00:10:39 +03:00
sonnar scanner 1.0.1
This commit is contained in:
37
sonar-scanner.properties
Normal file
37
sonar-scanner.properties
Normal file
@@ -0,0 +1,37 @@
|
||||
# must be unique in a given SonarQube instance
|
||||
sonar.projectKey=write_your_access_key_here
|
||||
sonar.login=admin
|
||||
sonar.password=password
|
||||
|
||||
#----- Default SonarQube server
|
||||
sonar.host.url=http://sonarqube:9000
|
||||
|
||||
# --- optional properties ---
|
||||
|
||||
# defaults to project key
|
||||
sonar.projectName=My project
|
||||
# defaults to 'not provided'
|
||||
sonar.projectVersion=1.0
|
||||
|
||||
# Path is relative to the sonar-project.properties file. Defaults to .
|
||||
sonar.sources=./code
|
||||
|
||||
# Encoding of the source code. Default is default system encoding
|
||||
sonar.sourceEncoding=UTF-8
|
||||
|
||||
#----- PostgreSQL
|
||||
sonar.jdbc.url=jdbc:postgresql://sonar_db/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.projectBaseDir=/usr/src
|
||||
Reference in New Issue
Block a user