php-kilo/Jenkinsfile
Timothy Warren 64e2aa7a9b
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
Clover code coverage, maybe?
2020-03-11 14:58:12 -04:00

21 lines
555 B
Groovy

pipeline {
agent {
dockerfile {
args '-u root --privileged'
}
}
stages {
stage('PHP 7.4') {
steps {
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'
step([
$class: 'CloverPublisher',
cloverReportDir: 'target/site',
cloverReportFileName: 'clover.xml',
])
}
}
}
}