diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bad17277604eeabf3aaa1bb23a8ab373d643ac01..3c3c36cb997f80f3586aec1d7e0693e5cff8608e 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 89503ea3f82055f8e49716721220f03dbda502b0..e122487ca15a1e027b92a1c299e3b2d05c5b333b 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.