Exclude package from Jacoco coverage in Jenkins
问题 Trying to exclude packages from coverage report as my Jenkins pipeline fail. I have a sub project with all POJO:s. I don't want to write uittest for all these. Hence, they will drag down branch/line coverage som that coverage will be below threshold and fail my build. It should be possible to exclude some packages, but I cant get it to work. I have the following jacoco.gradle file: apply plugin: 'jacoco' apply plugin: 'java' jacoco { toolVersion = "0.8.2" } jacocoTestReport { reports { xml