Clover code coverage, maybe?
timw4mail/php-kilo/pipeline/head This commit looks good Details

This commit is contained in:
Timothy Warren 2020-03-11 14:58:12 -04:00
parent c873ef349c
commit 64e2aa7a9b
1 changed files with 5 additions and 1 deletions

6
Jenkinsfile vendored
View File

@ -10,7 +10,11 @@ pipeline {
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install'
sh 'phpdbg -dffi.enable=1 -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never -c phpunit.xml tests'
sh 'ls -al clover.xml'
step([
$class: 'CloverPublisher',
cloverReportDir: 'target/site',
cloverReportFileName: 'clover.xml',
])
}
}
}