Sonar Runner Installation

No comments
Simple Steps to Install Sonar runner.

Extarct zip folder of SonarQube.
Go to F:\sonar-runner-2.4\conf
Edit sonar-runner.properties file

smaple sonar-runner.properties file

#Configure here general information about the environment, such as SonarQube DB details for example
#No information about specific project should appear here
sonar.projectKey=org.sonarqube:python-simple-sonar-scanner
sonar.projectName=Python :: Simple Project : SonarQube Scanner
sonar.projectVersion=1.0

# Comma-separated paths to directories with sources (required)
#sonar.sources=src
#----- Default SonarQube server
sonar.host.url=http://localhost:9000/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

#----- Global database settings
#sonar.jdbc.username=sonar
#sonar.jdbc.password=sonar

#----- Default source code encoding
#sonar.sourceEncoding=UTF-8

#----- Security (when 'sonar.forceAuthentication' is set to 'true')
sonar.login=admin
sonar.password=admin

No comments :

Post a Comment