-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsonar-project.properties
60 lines (48 loc) · 1.94 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# vim:ts=4:sts=4:sw=4:et
#
# Author: Hari Sekhon
# Date: 2025-02-01 23:32:57 +0700 (Sat, 01 Feb 2025)
#
# https///github.com/HariSekhon/GitHub-Actions
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
# ============================================================================ #
# S o n a r S c a n n e r P r o p e r t i e s
# ============================================================================ #
# https://docs.sonarqube.org/10.0/analyzing-source-code/scanners/sonarscanner/
# Generate a SONAR_TOKEN:
#
# https://docs.sonarqube.org/latest/user-guide/user-account/generating-and-using-tokens/
# Settings for below:
#
# https://docs.sonarqube.org/latest/analyzing-source-code/analysis-parameters/
# for self-hosted SonarQube, eg. on Kubernetes:
#
# https://github.com/HariSekhon/Kubernetes-configs
#
#sonar.host.url=https://sonar.domain.com
# Required metadata
sonar.organization=harisekhon
sonar.projectName=GitHub-Actions
sonar.projectKey=HariSekhon_GitHub-Actions
sonar.projectVersion=1.0
sonar.projectDescription=GitHub-Actions
sonar.links.homepage=https://github.com/HariSekhon/GitHub-Actions
sonar.links.scm=https://github.com/HariSekhon/GitHub-Actions
sonar.links.issue=https://github.com/HariSekhon/GitHub-Actions/issues
sonar.links.ci=https://github.com/HariSekhon/GitHub-Actions/actions
# if projects have svn history you may get this error otherwise:
#
# ERROR: Error during SonarScanner execution
# ERROR: SCM provider autodetection failed. Both git and svn claim to support this project. Please use "sonar.scm.provider" to define SCM of your project.
#
sonar.scm.provider=git
# directories to scan (defaults to sonar-project.properties dir otherwise)
sonar.sources=.
#sonar.language=py
sonar.sourceEncoding=UTF-8