Loading .gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ test: stage: test script: - mvn $MAVEN_CLI_OPTS test - "cat target/site/jacoco/index.html" deploy: stage: deploy Loading pom.xml +23 −0 Original line number Diff line number Diff line Loading @@ -106,6 +106,29 @@ <autoReleaseAfterClose>false</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.9</version> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> Loading Loading
.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ test: stage: test script: - mvn $MAVEN_CLI_OPTS test - "cat target/site/jacoco/index.html" deploy: stage: deploy Loading
pom.xml +23 −0 Original line number Diff line number Diff line Loading @@ -106,6 +106,29 @@ <autoReleaseAfterClose>false</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.9</version> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> Loading