1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00

add sonar config

This commit is contained in:
Christopher Fenner
2025-08-15 10:58:45 +02:00
parent 6c4d10f7d3
commit e383e4fdc1

37
sonar-project.properties Normal file
View File

@@ -0,0 +1,37 @@
# Root project information
sonar.projectName=Piper (OpenSource)
sonar.projectKey=piper-os
# SonarQube Links
sonar.links.homepage=https://url.sap/piper
# Some properties that will be inherited by the modules
sonar.sourceEncoding=UTF-8
sonar.dynamicAnalysis=reuseReports
# List of the module identifiers
sonar.modules=PiperGo
# Piper Go
PiperGo.sonar.projectName=Piper (golang)
PiperGo.sonar.projectBaseDir=.
PiperGo.sonar.sources=.
PiperGo.sonar.inclusions=**/*.go
PiperGo.sonar.exclusions=**/*_test.go, **/mocks/*.go, **/vendor/**, **/*_generated.go, **/*_generated_test.go
PiperGo.sonar.tests=.
PiperGo.sonar.test.inclusions=**/*_test.go, **/mocks/*.go
PiperGo.sonar.test.exclusions=**/vendor/**
#PiperGo.sonar.go.tests.reportPaths=unit-report.out,integration-report.out
#PiperGo.sonar.go.coverage.reportPaths=cover.out
#PiperGo.sonar.cpd.exclusions=**/*_generated.go
#sonar.testExecutionReportPaths=reports/sonar-report.xml
#sonar.javascript.lcov.reportPaths=reports/lcov.info
#sonar.eslint.reportPaths=reports/eslint-report.json
#
#sonar.pullrequest.github.repository=
#
#sonar.c.file.suffixes=-
#sonar.cpp.file.suffixes=-
#sonar.objc.file.suffixes=-