From ddc5ee77b118c1101913ef4b73d17d2a9bbd0a48 Mon Sep 17 00:00:00 2001 From: Patrick Paul Date: Mon, 6 May 2019 18:01:09 -0700 Subject: Include support for jacoco source inclusion pattern Change-Id: Iec75f7041e38bda09abf4d85abc15219259eff2c --- tests/publishers/fixtures/jacoco-full.xml | 1 + tests/publishers/fixtures/jacoco-full.yaml | 1 + tests/publishers/fixtures/jacoco-minimal.xml | 1 + tests/publishers/fixtures/jacoco001.xml | 1 + tests/publishers/fixtures/jacoco001.yaml | 1 + 5 files changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/publishers/fixtures/jacoco-full.xml b/tests/publishers/fixtures/jacoco-full.xml index 1c11bb97..43d07ef1 100644 --- a/tests/publishers/fixtures/jacoco-full.xml +++ b/tests/publishers/fixtures/jacoco-full.xml @@ -5,6 +5,7 @@ **/**.exec **/classes **/src/main/java + **/*.java,**/*.kt true **/*.class **/*Test*.class diff --git a/tests/publishers/fixtures/jacoco-full.yaml b/tests/publishers/fixtures/jacoco-full.yaml index f1ea1d8b..df3619cb 100644 --- a/tests/publishers/fixtures/jacoco-full.yaml +++ b/tests/publishers/fixtures/jacoco-full.yaml @@ -3,6 +3,7 @@ publishers: exec-pattern: '**/**.exec' class-pattern: '**/classes' source-pattern: '**/src/main/java' + source-inclusion-pattern: '**/*.java,**/*.kt' update-build-status: true inclusion-pattern: '**/*.class' exclusion-pattern: '**/*Test*.class' diff --git a/tests/publishers/fixtures/jacoco-minimal.xml b/tests/publishers/fixtures/jacoco-minimal.xml index 309e36dd..c18aef28 100644 --- a/tests/publishers/fixtures/jacoco-minimal.xml +++ b/tests/publishers/fixtures/jacoco-minimal.xml @@ -5,6 +5,7 @@ **/**.exec **/classes **/src/main/java + **/*.java false diff --git a/tests/publishers/fixtures/jacoco001.xml b/tests/publishers/fixtures/jacoco001.xml index ab66dab4..982dd075 100644 --- a/tests/publishers/fixtures/jacoco001.xml +++ b/tests/publishers/fixtures/jacoco001.xml @@ -5,6 +5,7 @@ **/**.exec **/classes **/src/main/java + **/*.java true diff --git a/tests/publishers/fixtures/jacoco001.yaml b/tests/publishers/fixtures/jacoco001.yaml index fc45fd1c..296e1ffc 100644 --- a/tests/publishers/fixtures/jacoco001.yaml +++ b/tests/publishers/fixtures/jacoco001.yaml @@ -3,6 +3,7 @@ publishers: exec-pattern: "**/**.exec" class-pattern: "**/classes" source-pattern: "**/src/main/java" + source-inclusion-pattern: '**/*.java' update-build-status: true targets: - branch: -- cgit