diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79e784685676f556bf550865a97e7a38f78c0aad..a25bb1a89360a33814a1062d7c9c2711c8ce1d46 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ variables: IBM_HELM_CONFIG_PATH: devops/ibm/ibm-storage-config IBM_HELM_DEPLOY_PATH: devops/ibm/ibm-storage-deploy + CORE_BUILD_SUBDIR: storage-core include: - project: "osdu/platform/ci-cd-pipelines" file: "standard-setup.yml" diff --git a/pom.xml b/pom.xml index 3a4754f27c4bdd76d8ecd59fc4a773acb8fac17a..09b6f864bb8b94470be00b3f96391180abe31325 100644 --- a/pom.xml +++ b/pom.xml @@ -247,6 +247,28 @@ <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> </configuration> </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.8.10</version> + <configuration> + <excludes></excludes> + </configuration> + <executions> + <execution> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <phase>prepare-package</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> </project>