Skip to content

Commit

Permalink
added sonar-project.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Feb 1, 2025
1 parent 72883e6 commit da9be7b
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 # XXX: Edit
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

0 comments on commit da9be7b

Please sign in to comment.