From: aravind.est Date: Fri, 28 Jun 2024 12:26:19 +0000 (+0100) Subject: SMO-TEIV: Exclude generated sources from jacoco coverage X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=13803bb7f33311ea613b2886f4d4026242087a88;p=ci-management.git 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 --- diff --git a/jjb/smo-teiv/coverage-exclude-pattern.txt b/jjb/smo-teiv/coverage-exclude-pattern.txt new file mode 100644 index 00000000..dbbe2d62 --- /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 2d2fbb4b..e5c0112b 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