@ -21,6 +21,7 @@ pipeline{
}
post{
success{
junit 'target/surefire-reports/**/*.xml'
archiveArtifacts artifacts: 'target/*.jar, *.pom', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
@ -15,6 +15,18 @@
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<includes>
<include>org.leolo.map.osm.extract.test.MainTest</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>18</maven.compiler.source>
@ -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.");