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``)
|
to locate class files (default ``**/classes``)
|
||||||
:arg str source-pattern: This is a file name pattern that can be used
|
:arg str source-pattern: This is a file name pattern that can be used
|
||||||
to locate source files (default ``**/src/main/java``)
|
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
|
:arg bool update-build-status: Update the build according to the results
|
||||||
(default false)
|
(default false)
|
||||||
:arg str inclusion-pattern: This is a file name pattern that can be used
|
: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'),
|
('exec-pattern', 'execPattern', '**/**.exec'),
|
||||||
('class-pattern', 'classPattern', '**/classes'),
|
('class-pattern', 'classPattern', '**/classes'),
|
||||||
('source-pattern', 'sourcePattern', '**/src/main/java'),
|
('source-pattern', 'sourcePattern', '**/src/main/java'),
|
||||||
|
('source-inclusion-pattern', 'sourceInclusionPattern', '**/*.java'),
|
||||||
('update-build-status', 'changeBuildStatus', False),
|
('update-build-status', 'changeBuildStatus', False),
|
||||||
('inclusion-pattern', 'inclusionPattern', ''),
|
('inclusion-pattern', 'inclusionPattern', ''),
|
||||||
('exclusion-pattern', 'exclusionPattern', ''),
|
('exclusion-pattern', 'exclusionPattern', ''),
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<execPattern>**/**.exec</execPattern>
|
<execPattern>**/**.exec</execPattern>
|
||||||
<classPattern>**/classes</classPattern>
|
<classPattern>**/classes</classPattern>
|
||||||
<sourcePattern>**/src/main/java</sourcePattern>
|
<sourcePattern>**/src/main/java</sourcePattern>
|
||||||
|
<sourceInclusionPattern>**/*.java,**/*.kt</sourceInclusionPattern>
|
||||||
<changeBuildStatus>true</changeBuildStatus>
|
<changeBuildStatus>true</changeBuildStatus>
|
||||||
<inclusionPattern>**/*.class</inclusionPattern>
|
<inclusionPattern>**/*.class</inclusionPattern>
|
||||||
<exclusionPattern>**/*Test*.class</exclusionPattern>
|
<exclusionPattern>**/*Test*.class</exclusionPattern>
|
||||||
|
@ -3,6 +3,7 @@ publishers:
|
|||||||
exec-pattern: '**/**.exec'
|
exec-pattern: '**/**.exec'
|
||||||
class-pattern: '**/classes'
|
class-pattern: '**/classes'
|
||||||
source-pattern: '**/src/main/java'
|
source-pattern: '**/src/main/java'
|
||||||
|
source-inclusion-pattern: '**/*.java,**/*.kt'
|
||||||
update-build-status: true
|
update-build-status: true
|
||||||
inclusion-pattern: '**/*.class'
|
inclusion-pattern: '**/*.class'
|
||||||
exclusion-pattern: '**/*Test*.class'
|
exclusion-pattern: '**/*Test*.class'
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<execPattern>**/**.exec</execPattern>
|
<execPattern>**/**.exec</execPattern>
|
||||||
<classPattern>**/classes</classPattern>
|
<classPattern>**/classes</classPattern>
|
||||||
<sourcePattern>**/src/main/java</sourcePattern>
|
<sourcePattern>**/src/main/java</sourcePattern>
|
||||||
|
<sourceInclusionPattern>**/*.java</sourceInclusionPattern>
|
||||||
<changeBuildStatus>false</changeBuildStatus>
|
<changeBuildStatus>false</changeBuildStatus>
|
||||||
<inclusionPattern/>
|
<inclusionPattern/>
|
||||||
<exclusionPattern/>
|
<exclusionPattern/>
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<execPattern>**/**.exec</execPattern>
|
<execPattern>**/**.exec</execPattern>
|
||||||
<classPattern>**/classes</classPattern>
|
<classPattern>**/classes</classPattern>
|
||||||
<sourcePattern>**/src/main/java</sourcePattern>
|
<sourcePattern>**/src/main/java</sourcePattern>
|
||||||
|
<sourceInclusionPattern>**/*.java</sourceInclusionPattern>
|
||||||
<changeBuildStatus>true</changeBuildStatus>
|
<changeBuildStatus>true</changeBuildStatus>
|
||||||
<inclusionPattern/>
|
<inclusionPattern/>
|
||||||
<exclusionPattern/>
|
<exclusionPattern/>
|
||||||
|
@ -3,6 +3,7 @@ publishers:
|
|||||||
exec-pattern: "**/**.exec"
|
exec-pattern: "**/**.exec"
|
||||||
class-pattern: "**/classes"
|
class-pattern: "**/classes"
|
||||||
source-pattern: "**/src/main/java"
|
source-pattern: "**/src/main/java"
|
||||||
|
source-inclusion-pattern: '**/*.java'
|
||||||
update-build-status: true
|
update-build-status: true
|
||||||
targets:
|
targets:
|
||||||
- branch:
|
- branch:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user