SMO-TEIV: Exclude generated sources from jacoco coverage 26/13126/1 master
authoraravind.est <aravindhan.a@est.tech>
Fri, 28 Jun 2024 12:26:19 +0000 (13:26 +0100)
committeraravind.est <aravindhan.a@est.tech>
Fri, 28 Jun 2024 12:26:19 +0000 (13:26 +0100)
Generated sources excluded from jacoco coverage

Issue-ID: SMO-154
Change-Id: Ife0897eeb2129e5a59b282a4d7189957351045ce
Signed-off-by: aravind.est <aravindhan.a@est.tech>
jjb/smo-teiv/coverage-exclude-pattern.txt [new file with mode: 0644]
jjb/smo-teiv/smo-teiv.yaml

diff --git a/jjb/smo-teiv/coverage-exclude-pattern.txt b/jjb/smo-teiv/coverage-exclude-pattern.txt
new file mode 100644 (file)
index 0000000..dbbe2d6
--- /dev/null
@@ -0,0 +1 @@
+org/oran/smo/teiv/api/*.class,org/oran/smo/teiv/api/model/**,org/oran/smo/teiv/antlr4/**
\ No newline at end of file
index 2d2fbb4..e5c0112 100644 (file)
@@ -24,6 +24,7 @@
     mvn-settings: smo-teiv-settings
     mvn-version: mvn36
     java-version: openjdk17
+    jacoco-exclude-pattern: !include-raw-escape: coverage-exclude-pattern.txt
 
 - project:
     <<: *smo_teiv_jdk_common