From e18cdebe0474dbe223b425e1648c7fb35f30e0a3 Mon Sep 17 00:00:00 2001 From: Julien WITTOUCK Date: Mon, 23 Sep 2019 19:54:47 +0200 Subject: [PATCH] :construction_worker: : generate XML report for jacoco also pinning the jacoco version, as 0.8.4 gives us kotlin support --- .travis.yml | 2 +- pom.xml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 176f8f2af..a6be45e6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ jobs: # fetching master refs when building other branches helps sonar computing PRs - git fetch origin +refs/heads/master:refs/remotes/origin/master # the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis - - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar + - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify org.jacoco:jacoco-maven-plugin:report sonar:sonar - stage: deploy name: "Deploy to hub.docker.com" script: diff --git a/pom.xml b/pom.xml index e93b04ecc..06c65ed1c 100644 --- a/pom.xml +++ b/pom.xml @@ -212,6 +212,15 @@ + + + + org.jacoco + jacoco-maven-plugin + 0.8.4 + + +