diff --git a/Jenkinsfile b/Jenkinsfile
index 76fed6f0d..1e8305982 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,7 +17,7 @@ pipeline {
-v ./:/app \
-v "/home/jenkins/.m2":"/home/jenkins/.m2" \
-e JOB_ACTION="compile" \
- -e MAVEN_CMD="clean verify sonar:sonar -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.branch.name=$SONAR_BRANCH" \
+ -e MAVEN_CMD="clean verify sonar:sonar -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.branch.name=$SONAR_BRANCH -Pcoverage" \
$BUILD_IMAGE
'''
}
diff --git a/pom.xml b/pom.xml
index 28e3f119c..2f8bedadd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -250,45 +250,7 @@
-
- org.jacoco
- jacoco-maven-plugin
- ${jacoco.version}
-
-
-
- prepare-agent
-
- prepare-agent
-
-
-
-
- report
- verify
-
- report
-
-
- UTF-8
-
-
-
-
-
- report-aggregate
- verify
-
- report-aggregate
-
-
- ${project.build.directory}/site/jacoco
-
-
-
-
-
@@ -477,5 +439,36 @@
+
+ coverage
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.7
+
+
+ prepare-agent
+
+ prepare-agent
+
+
+
+ report
+
+ report
+
+
+
+ XML
+
+
+
+
+
+
+
+