Skip to content

Commit 27647b3

Browse files
authored
Record Clover Coverage with Jenkins Coverage plugin
1 parent 7a11a07 commit 27647b3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Jenkinsfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ pipeline {
55
steps {
66
sh 'composer install'
77
sh 'php vendor/bin/phpunit --coverage-openclover ./clover.xml'
8+
recordCoverage(
9+
skipPublishingChecks: true,
10+
ignoreParsingErrors: true,
11+
tools: [
12+
[parser: 'CLOVER', pattern: 'build/logs/clover.xml']
13+
]
14+
)
815
clover(
916
cloverReportDir: './',
1017
cloverReportFileName: 'clover.xml',

0 commit comments

Comments
 (0)