diff --git a/Jenkinsfile b/Jenkinsfile
index ae2c663..013b499 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -18,6 +18,7 @@ pipeline {
post {
always {
junit '*/target/surefire-reports/*.xml'
+ publishCoverage adapters: [jacocoAdapter(mergeToOneReport: true, path: '*/target/site/jacoco/jacoco.xml')]
}
}
}
diff --git a/pom.xml b/pom.xml
index 4d3e67c..0cac1d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
Undo-Redo
A Java library for managing changes in an editor history.
https://git.kske.dev/kske/event-bus
-
+
core
javafx
@@ -182,11 +182,31 @@
maven-surefire-plugin
3.0.0-M5
- --add-opens dev.kske.undoredo.core/dev.kske.undoredo.core=ALL-UNNAMED
+ ${argLine} --add-opens dev.kske.undoredo.core/dev.kske.undoredo.core=ALL-UNNAMED
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.7
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
+
-