Skip to content

Commit

Permalink
add sonar cloud properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Meer Sawood committed Nov 23, 2023
1 parent 6ae4f0b commit 12a0270
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SonarCloud analysis properties
sonar.projectName=image-controller
sonar.organization=redhat-appstudio-1
sonar.sources=.
sonar.language=go

# SCM properties
sonar.scm.provider=git
sonar.scm.url=github.com/redhat-appstudio/image-controller

# Quality gate properties
sonar.qualitygate.wait=true
sonar.qualitygate.timeout=300

# Path to sources
sonar.sources=.
sonar.exclusions=**/*test*, **/vendor/**, **/zz_generated.*, **/*.yaml,

# Path to tests
sonar.tests=**/*test*
sonar.test.exclusions=**/*test*
#sonar.test.inclusions=

# Source encoding
sonar.sourceEncoding=UTF-8

# Exclusions for copy-paste detection
sonar.cpd.exclusions=**/*test*

0 comments on commit 12a0270

Please sign in to comment.