-
Notifications
You must be signed in to change notification settings - Fork 3
/
sonar-project.properties
30 lines (25 loc) · 1.26 KB
/
sonar-project.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
# Project key is required. You'll find it in the SonarCloud UI
sonar.projectKey=DEFRA_quke
sonar.organization=defra
# This is the name and version displayed in the SonarCloud UI
sonar.projectName=quke
sonar.projectVersion=0.10.0
# This will add the same links in the SonarCloud UI
sonar.links.homepage=https://github.com/DEFRA/quke
sonar.links.ci=https://github.com/DEFRA/quke/actions
sonar.links.scm=https://github.com/DEFRA/quke
sonar.links.issue=https://github.com/DEFRA/ruby-services-team/issues
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on
# Windows.
# Because rails generates a number of files, and SonarCloud has no rails and
# ruby intelligence we have found we have to specify what should be covered.
# If we don't SonarCloud will do things like take the raw coverage data from
# simplecov, compare that to all files ion the repo, and score 0 for all the
# files we don't actually need to test. This severly deflates our scores and
# means it is not consistent with our previous reporting tool CodeClimate.
sonar.sources=./lib
sonar.tests=./spec
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
sonar.ruby.coverage.reportPath=coverage/.resultset.json
sonar.ruby.rubocop.reportPaths=rubocop-result.json