diff options
author | Zuul <zuul@review.opendev.org> | 2019-05-17 01:57:38 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-05-17 01:57:38 +0000 |
commit | e394ed37e0941c09fb33d9cc6ba8b2e997eff8c1 (patch) | |
tree | 90a2ef7bfcacb5c6250c5e009816d4c2675e3f41 /tests | |
parent | 6923c145770ceb5754eebdf196be0247198690f6 (diff) | |
parent | ddc5ee77b118c1101913ef4b73d17d2a9bbd0a48 (diff) | |
download | python-jenkins-job-builder-e394ed37e0941c09fb33d9cc6ba8b2e997eff8c1.tar.gz python-jenkins-job-builder-e394ed37e0941c09fb33d9cc6ba8b2e997eff8c1.tar.xz python-jenkins-job-builder-e394ed37e0941c09fb33d9cc6ba8b2e997eff8c1.zip |
Merge "Include support for jacoco source inclusion pattern"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/publishers/fixtures/jacoco-full.xml | 1 | ||||
-rw-r--r-- | tests/publishers/fixtures/jacoco-full.yaml | 1 | ||||
-rw-r--r-- | tests/publishers/fixtures/jacoco-minimal.xml | 1 | ||||
-rw-r--r-- | tests/publishers/fixtures/jacoco001.xml | 1 | ||||
-rw-r--r-- | tests/publishers/fixtures/jacoco001.yaml | 1 |
5 files changed, 5 insertions, 0 deletions
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 @@ <execPattern>**/**.exec</execPattern> <classPattern>**/classes</classPattern> <sourcePattern>**/src/main/java</sourcePattern> + <sourceInclusionPattern>**/*.java,**/*.kt</sourceInclusionPattern> <changeBuildStatus>true</changeBuildStatus> <inclusionPattern>**/*.class</inclusionPattern> <exclusionPattern>**/*Test*.class</exclusionPattern> 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 @@ <execPattern>**/**.exec</execPattern> <classPattern>**/classes</classPattern> <sourcePattern>**/src/main/java</sourcePattern> + <sourceInclusionPattern>**/*.java</sourceInclusionPattern> <changeBuildStatus>false</changeBuildStatus> <inclusionPattern/> <exclusionPattern/> 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 @@ <execPattern>**/**.exec</execPattern> <classPattern>**/classes</classPattern> <sourcePattern>**/src/main/java</sourcePattern> + <sourceInclusionPattern>**/*.java</sourceInclusionPattern> <changeBuildStatus>true</changeBuildStatus> <inclusionPattern/> <exclusionPattern/> 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: |