sample sonar-scanner.properties file:
#Configure here general information about the environment, such as SonarQube server connection details for example #No information about specific project should appear here #----- Default SonarQube server #sonar.host.url=http://localhost:9000 #----- Default source code encoding #sonar.sourceEncoding=UTF-8 sonar.projectKey=JavaProject sonar.projectName=JavaProject sonar.projectVersion=1.0 sonar.sources=C:/Users/uday/Desktop/company-project/project_folder/src/com/company/projectfolder sonar.language=java sonar.java.binaries=C:/Users/uday/Desktop/project-root/build/classes
This file is at sonar-scanner-4.0.0.1744-windows\conf\sonar-scanner.properties
Java location set here: C:\Users\uday\Documents\New folder\sonarqube-7.9.1\conf\wrapper.conf
For PDF reporting of sonar community edition: https://github.com/lequal/sonar-cnes-report
--------------------------------
No comments:
Post a Comment