Skip to content

Commit afee16a

Browse files
authored
Merge pull request #27 from chynasan/sonarqube_config
Adding SonarQube action-based mode configuration file.
2 parents 163e1c2 + aa21199 commit afee16a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

sonar-project.properties

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Complete documentation with many more options at:
2+
# https://docs.sonarqube.org/latest/analysis/analysis-parameters/
3+
4+
## The unique project identifier. This is mandatory.
5+
# Do not duplicate or reuse!
6+
# Available characters: [a-zA-Z0-9_:\.\-]
7+
# Must have least one non-digit.
8+
# Recommended format: <group>:<project>
9+
sonar.projectKey=ansible_pattern-service
10+
11+
sonar.organization=ansible
12+
13+
# Customize what paths to scan. Default is .
14+
sonar.sources=.
15+
16+
# Exclude Django migrations from copy-paste detection
17+
sonar.cpd.exclusions=core/migrations/*.py
18+
19+
# Verbose name of project displayed in WUI. Default is set to the projectKey. This field is optional.
20+
sonar.projectName=pattern-service
21+
22+
# Tell sonar scanner where coverage files exist
23+
sonar.python.coverage.reportPaths=coverage.xml
24+
25+
# Exclude test directories from sources
26+
sonar.exclusions=**/core/tests/*

0 commit comments

Comments
 (0)