From eb2f4d95b63b6f9136d28bb2d56b5ff29ee2f7b4 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 5 Feb 2021 20:21:05 -0500 Subject: [PATCH] Fix the CI build? --- Jenkinsfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9bc755fa..40ad8172 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,11 +34,9 @@ pipeline { sh 'php ./vendor/bin/phpunit --colors=never' } } - } - post { - success { - agent any - node { + stage('Coverage') { + agent any + steps { sh 'php composer.phar run-script coverage' step([ $class: 'CloverPublisher', @@ -46,7 +44,7 @@ pipeline { cloverReportFileName: 'build/logs/clover.xml', ]) junit 'build/logs/junit.xml' - } - } + } + } } } \ No newline at end of file