summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio David Gasparini <claudio.gasparini@pantheon.tech>2021-01-15 14:08:34 +0100
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>2021-01-15 17:26:20 +0100
commit3e38d766da84e08254ec1b736ae342d850f9d5be (patch)
tree824b90f47614be16e61aba7ed4a1090c7ef0a4aa
parenta16c3fb5f7f0bbe7bda9e4f21f71a3e958ed523f (diff)
Configure coverage per module for cps-service
Set global minimum to 90 % coverage Set specific minimum for cps-service, once achieved the 90 all modules should respect this minimum Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I29172e47b907d596ffe983ff16429f44e44f8913
-rwxr-xr-xcps-parent/pom.xml2
-rwxr-xr-xcps-rest/pom.xml4
2 files changed, 5 insertions, 1 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml
index 01eacb3023..f427555aa1 100755
--- a/cps-parent/pom.xml
+++ b/cps-parent/pom.xml
@@ -20,7 +20,7 @@
<base.image>openjdk:11-jre-slim</base.image>
<java.version>11</java.version>
<jib-maven-plugin.version>2.6.0</jib-maven-plugin.version>
- <minimum-coverage>0.80</minimum-coverage>
+ <minimum-coverage>0.9</minimum-coverage>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<oparent.version>3.1.0</oparent.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml
index f2f643ac23..128c56680b 100755
--- a/cps-rest/pom.xml
+++ b/cps-rest/pom.xml
@@ -11,6 +11,10 @@
<artifactId>cps-rest</artifactId>
+ <properties>
+ <minimum-coverage>0.88</minimum-coverage>
+ </properties>
+
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>