sonnar scanner 1.0.1

This commit is contained in:
2021-12-24 10:27:43 +03:00
commit c5eca7f43d
7 changed files with 208 additions and 0 deletions

37
sonar-scanner.properties Normal file
View 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