Clover code coverage, maybe?
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good

This commit is contained in:
Timothy Warren 2020-03-11 14:58:12 -04:00
parent c873ef349c
commit 64e2aa7a9b

6
Jenkinsfile vendored
View File

@ -10,7 +10,11 @@ pipeline {
sh 'curl -sS https://getcomposer.org/installer | php' sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install' 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 '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',
])
} }
} }
} }