From: E. Scott Daniels Date: Tue, 25 Aug 2020 12:33:22 +0000 (-0400) Subject: Add exclusions to mc-xapp sonar jjb description X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F4600%2F1;p=ci-management.git Add exclusions to mc-xapp sonar jjb description This change adds analysis and coverage exclusions to the jjb description for the mc-listener sonar job. The test directory is excluded from analysis and coverage reports as those are not valid. Issue-ID: RIC-632 Signed-off-by: E. Scott Daniels Change-Id: I937939dc76e162f6685ac6b33fe430ad20633283 --- diff --git a/jjb/ric-app-mc/ric-app-mc.yaml b/jjb/ric-app-mc/ric-app-mc.yaml index 523943fd..05980ec6 100644 --- a/jjb/ric-app-mc/ric-app-mc.yaml +++ b/jjb/ric-app-mc/ric-app-mc.yaml @@ -97,6 +97,8 @@ sonar.organization={sonarcloud_project_organization} sonar.build.sourceEncoding=UTF-8 sonar.sources=sidecars/listener + sonar.exclusions=sidecars/listener/test/**/* + sonar.coverage.exclusions=sidecars/listener/test/**/* sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output sonar.cfamily.gcov.reportsPath=sidecars/listener sonar.cfamily.threads=2