diff --git a/Jenkinsfile b/Jenkinsfile
index c1f9ad7..d1cc0b4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,6 +21,7 @@ pipeline{
}
post{
success{
+ junit 'target/surefire-reports/**/*.xml'
archiveArtifacts artifacts: 'target/*.jar, *.pom', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
}
}
diff --git a/pom.xml b/pom.xml
index fb9ada4..a9fd672 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,6 +15,18 @@
src/main/resources
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.0.0-M4
+
+
+ org.leolo.map.osm.extract.test.MainTest
+
+
+
+
18
diff --git a/src/test/java/MainTest.java b/src/test/java/org/leolo/map/osm/extract/test/MainTest.java
similarity index 71%
rename from src/test/java/MainTest.java
rename to src/test/java/org/leolo/map/osm/extract/test/MainTest.java
index ca83c63..48d3870 100644
--- a/src/test/java/MainTest.java
+++ b/src/test/java/org/leolo/map/osm/extract/test/MainTest.java
@@ -1,3 +1,5 @@
+package org.leolo.map.osm.extract.test;
+
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
@@ -8,7 +10,7 @@ import static org.junit.jupiter.api.Assertions.*;
public class MainTest {
@Test void test1(){
-
+ System.out.println("Test executed.");
}
}