Add mc-core directory to sonar coverage tests
This change adds the core MC xAPP code to the list of sources for
sonar coverage tests. It also defines a common place for all
test scripts to deposit gcov files.
Issue-ID: RIC-632
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I83debbc79bc53dc3c45ea5c6d6e829a40d378e48
diff --git a/jjb/ric-app-mc/ric-app-mc.yaml b/jjb/ric-app-mc/ric-app-mc.yaml
index ea00cb0..a42b5ac 100644
--- a/jjb/ric-app-mc/ric-app-mc.yaml
+++ b/jjb/ric-app-mc/ric-app-mc.yaml
@@ -96,9 +96,9 @@
sonar.projectName={project-name}
sonar.organization={sonarcloud_project_organization}
sonar.build.sourceEncoding=UTF-8
- sonar.sources=sidecars/listener/src
+ sonar.sources=sidecars/listener/src,mc-core/mc/mcnib
sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output
- sonar.cfamily.gcov.reportsPath=sidecars/listener
+ sonar.cfamily.gcov.reportsPath=/tmp/gcov_rpts
sonar.cfamily.threads=2
jobs:
- gerrit-cmake-sonarqube