summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-05-17 01:57:38 +0000
committerGerrit Code Review <review@openstack.org>2019-05-17 01:57:38 +0000
commite394ed37e0941c09fb33d9cc6ba8b2e997eff8c1 (patch)
tree90a2ef7bfcacb5c6250c5e009816d4c2675e3f41 /tests
parent6923c145770ceb5754eebdf196be0247198690f6 (diff)
parentddc5ee77b118c1101913ef4b73d17d2a9bbd0a48 (diff)
downloadpython-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.xml1
-rw-r--r--tests/publishers/fixtures/jacoco-full.yaml1
-rw-r--r--tests/publishers/fixtures/jacoco-minimal.xml1
-rw-r--r--tests/publishers/fixtures/jacoco001.xml1
-rw-r--r--tests/publishers/fixtures/jacoco001.yaml1
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: