Remove unnecessary sonar configuration from ci-management for pm-file-converter 32/11832/1
authorambrishest <ambrish.singh@est.tech>
Thu, 28 Sep 2023 15:07:14 +0000 (16:07 +0100)
committerambrishest <ambrish.singh@est.tech>
Thu, 28 Sep 2023 15:09:47 +0000 (16:09 +0100)
Issue-ID: NONRTRIC-914
Change-Id: I7c70174c8b389f8a041a8353e20b021e4c626aca
Signed-off-by: ambrishest <ambrish.singh@est.tech>
jjb/nonrtric-plt-ranpm/nonrtric-plt-ranpm.yaml
jjb/nonrtric-plt-ranpm/sonar-project.properties [deleted file]

index 4f429cc..ebf532d 100644 (file)
       sonar.projectName={project-name}
       sonar.build.sourceEncoding=UTF-8
       sonar.language=go
-      sonar.sources=.
+      sonar.sources=pm-file-converter
+      sonar.tests=pm-file-converter
       sonar.go.coverage.reportPaths=pm-file-converter/coverage.txt
-      sonar.inclusions=pm-file-converter/main.go,pm-file-converter/common/**/**.go,pm-file-converter/components/**/**.go
-      sonar.exclusions=pm-file-converter/components/xmltransform/xmltransform_test.go
+      sonar.inclusions=**/*.go
+      sonar.exclusions=**/*_test.go
     jobs:
       - gerrit-sonar-prescan-script
 
diff --git a/jjb/nonrtric-plt-ranpm/sonar-project.properties b/jjb/nonrtric-plt-ranpm/sonar-project.properties
deleted file mode 100644 (file)
index 2910b5d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-# Required metadata\r
-sonar.login={sonarcloud_api_token}\r
-sonar.projectKey={sonarcloud_project_organization}_{project-name}\r
-sonar.organization={sonarcloud_project_organization}\r
-# Encoding\r
-sonar.build.sourceEncoding=UTF-8\r
-# Language\r
-sonar.language=go\r
-# Source\r
-sonar.sources=.\r
-# Unit tests\r
-sonar.go.coverage.reportPaths=pm-file-converter/coverage.txt\r
-# Inclusions\r
-sonar.inclusions=pm-file-converter/main.go,pm-file-converter/common/**/**.go,pm-file-converter/components/**/**.go\r
-# Exclusions\r
-sonar.exclusions=pm-file-converter/components/**/*_test.go,pm-file-converter/common/**/*_test.go,pm-file-converter/components/**/*_test.go\r