Include support for jacoco source inclusion pattern
Change-Id: Iec75f7041e38bda09abf4d85abc15219259eff2c
This commit is contained in:
parent
a90f084f93
commit
ddc5ee77b1
@ -1085,6 +1085,8 @@ def jacoco(registry, xml_parent, data):
|
||||
to locate class files (default ``**/classes``)
|
||||
:arg str source-pattern: This is a file name pattern that can be used
|
||||
to locate source files (default ``**/src/main/java``)
|
||||
:arg str source-inclusion-pattern: This is a file name pattern that can
|
||||
be used to include certain source files (default ``**/*.java``)
|
||||
:arg bool update-build-status: Update the build according to the results
|
||||
(default false)
|
||||
:arg str inclusion-pattern: This is a file name pattern that can be used
|
||||
@ -1117,6 +1119,7 @@ def jacoco(registry, xml_parent, data):
|
||||
('exec-pattern', 'execPattern', '**/**.exec'),
|
||||
('class-pattern', 'classPattern', '**/classes'),
|
||||
('source-pattern', 'sourcePattern', '**/src/main/java'),
|
||||
('source-inclusion-pattern', 'sourceInclusionPattern', '**/*.java'),
|
||||
('update-build-status', 'changeBuildStatus', False),
|
||||
('inclusion-pattern', 'inclusionPattern', ''),
|
||||
('exclusion-pattern', 'exclusionPattern', ''),
|
||||
|
@ -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>
|
||||
|
@ -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'
|
||||
|
@ -5,6 +5,7 @@
|
||||
<execPattern>**/**.exec</execPattern>
|
||||
<classPattern>**/classes</classPattern>
|
||||
<sourcePattern>**/src/main/java</sourcePattern>
|
||||
<sourceInclusionPattern>**/*.java</sourceInclusionPattern>
|
||||
<changeBuildStatus>false</changeBuildStatus>
|
||||
<inclusionPattern/>
|
||||
<exclusionPattern/>
|
||||
|
@ -5,6 +5,7 @@
|
||||
<execPattern>**/**.exec</execPattern>
|
||||
<classPattern>**/classes</classPattern>
|
||||
<sourcePattern>**/src/main/java</sourcePattern>
|
||||
<sourceInclusionPattern>**/*.java</sourceInclusionPattern>
|
||||
<changeBuildStatus>true</changeBuildStatus>
|
||||
<inclusionPattern/>
|
||||
<exclusionPattern/>
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user