SMO-TEIV: Exclude generated sources from jacoco coverage
Generated sources excluded from jacoco coverage
Issue-ID: SMO-154
Change-Id: Ife0897eeb2129e5a59b282a4d7189957351045ce
Signed-off-by: aravind.est <aravindhan.a@est.tech>
diff --git a/jjb/smo-teiv/coverage-exclude-pattern.txt b/jjb/smo-teiv/coverage-exclude-pattern.txt
new file mode 100644
index 0000000..dbbe2d6
--- /dev/null
+++ b/jjb/smo-teiv/coverage-exclude-pattern.txt
@@ -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
diff --git a/jjb/smo-teiv/smo-teiv.yaml b/jjb/smo-teiv/smo-teiv.yaml
index 2d2fbb4..e5c0112 100644
--- a/jjb/smo-teiv/smo-teiv.yaml
+++ b/jjb/smo-teiv/smo-teiv.yaml
@@ -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