Tweaking jacoco includes/excludes
This commit is contained in:
parent
91cbb067f8
commit
6ded652dae
|
@ -56,7 +56,6 @@ node('linux') {
|
|||
testResults: '**/target/surefire-reports/TEST-*.xml'])
|
||||
// Collect up the jacoco execution results
|
||||
step([$class: 'JacocoPublisher',
|
||||
inclusionPattern: "**/org/eclipse/jetty/**/*.class",
|
||||
execPattern: '**/target/jacoco.exec',
|
||||
classPattern: '**/target/classes',
|
||||
sourcePattern: '**/src/main/java'])
|
||||
|
|
20
pom.xml
20
pom.xml
|
@ -175,6 +175,26 @@
|
|||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.7.7.201606060606</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/org/eclipse/jetty/**/*.class</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<!-- build tools -->
|
||||
<exclude>**/org/eclipse/jetty/ant/**</exclude>
|
||||
<exclude>**/org/eclipse/jetty/maven/**</exclude>
|
||||
<exclude>**/org/eclipse/jetty/jspc/**</exclude>
|
||||
<!-- special environments -->
|
||||
<exclude>**/org/eclipse/jetty/gcloud/**</exclude>
|
||||
<exclude>**/org/eclipse/jetty/infinispan/**</exclude>
|
||||
<exclude>**/org/eclipse/jetty/osgi/**</exclude>
|
||||
<exclude>**/org/eclipse/jetty/spring/**</exclude>
|
||||
<exclude>**/org/eclipse/jetty/http/spi/**</exclude>
|
||||
<!-- test classes -->
|
||||
<exclude>**/org/eclipse/jetty/tests/**</exclude>
|
||||
<exclude>**/org/eclipse/jetty/test/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>jacoco-initialize</id>
|
||||
|
|
Loading…
Reference in New Issue