Skip to content
Snippets Groups Projects
Commit cd180dcb authored by OZGCloud's avatar OZGCloud
Browse files

fix running tests on jenkins

parent 6ba39abb
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,10 @@
<properties>
<lombok.version>1.18.26</lombok.version>
<mapstruct.version>1.5.4.Final</mapstruct.version>
<!-- plugins -->
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.1.2</maven-failsafe-plugin.version>
<jacoco.plugin.version>0.8.10</jacoco.plugin.version>
</properties>
<dependencies>
......@@ -49,6 +53,10 @@
</dependency>
<!-- test -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
......@@ -124,6 +132,37 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>
${surefire.jacoco.args}
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
<configuration>
<argLine>
${surefire.jacoco.args}
</argLine>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment