From: ambrishest Date: Thu, 28 Sep 2023 15:07:14 +0000 (+0100) Subject: Remove unnecessary sonar configuration from ci-management for pm-file-converter X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=317cfbfd9d3fceb12c82d478235e5f304d144fe7 Remove unnecessary sonar configuration from ci-management for pm-file-converter Issue-ID: NONRTRIC-914 Change-Id: I7c70174c8b389f8a041a8353e20b021e4c626aca Signed-off-by: ambrishest --- diff --git a/jjb/nonrtric-plt-ranpm/nonrtric-plt-ranpm.yaml b/jjb/nonrtric-plt-ranpm/nonrtric-plt-ranpm.yaml index 4f429cc4..ebf532da 100644 --- a/jjb/nonrtric-plt-ranpm/nonrtric-plt-ranpm.yaml +++ b/jjb/nonrtric-plt-ranpm/nonrtric-plt-ranpm.yaml @@ -151,10 +151,11 @@ 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 index 2910b5d8..00000000 --- a/jjb/nonrtric-plt-ranpm/sonar-project.properties +++ /dev/null @@ -1,16 +0,0 @@ -# Required metadata -sonar.login={sonarcloud_api_token} -sonar.projectKey={sonarcloud_project_organization}_{project-name} -sonar.organization={sonarcloud_project_organization} -# Encoding -sonar.build.sourceEncoding=UTF-8 -# Language -sonar.language=go -# Source -sonar.sources=. -# Unit tests -sonar.go.coverage.reportPaths=pm-file-converter/coverage.txt -# Inclusions -sonar.inclusions=pm-file-converter/main.go,pm-file-converter/common/**/**.go,pm-file-converter/components/**/**.go -# Exclusions -sonar.exclusions=pm-file-converter/components/**/*_test.go,pm-file-converter/common/**/*_test.go,pm-file-converter/components/**/*_test.go