Clover code coverage, maybe?
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
This commit is contained in:
parent
c873ef349c
commit
64e2aa7a9b
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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',
|
||||||
|
])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user