From 028675d9569a5b04f235508d09ce8fe19718ec13 Mon Sep 17 00:00:00 2001 From: Patrik Dufresne Date: Fri, 8 Feb 2019 12:28:03 -0500 Subject: [PATCH] Fix sonar execution --- .gitlab-ci.yml | 2 +- README.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bad1727..3c3c36c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ sonar: stage: build allow_failure: true script: - - mvn -B -Drevision=${REVISION} -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_TOKEN clean verify sonar:sonar + - mvn -B -Drevision=${REVISION} -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_TOKEN org.jacoco:jacoco-maven-plugin:prepare-agent clean verify sonar:sonar nexus_deploy: stage: publish diff --git a/README.md b/README.md index 89503ea..e122487 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + +[![Build](http://git.patrikdufresne.com/pdsl/license/badges/master/build.svg)](http://git.patrikdufresne.com/pdsl/license) +[![Coverage](http://sonar.patrikdufresne.com/api/project_badges/measure?project=com.patrikdufresne%3Alicense&metric=coverage)](http://sonar.patrikdufresne.com/dashboard?id=com.patrikdufresne%3Alicense) + # How it work ? This project provide a java library to be used by your java project to easily validate a license file. -- GitLab