From 3841bba92380c231d4ddf940c2ab494768ce9ab1 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 5 Feb 2021 17:49:19 -0500 Subject: [PATCH] Fix the CI build? --- Jenkinsfile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 466e9600..7351ec62 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,13 +37,15 @@ pipeline { } post { success { - sh 'php composer.phar run-script coverage' - step([ - $class: 'CloverPublisher', - cloverReportDir: '', - cloverReportFileName: 'build/logs/clover.xml', - ]) - junit 'build/logs/junit.xml' + agent any { + sh 'php composer.phar run-script coverage' + step([ + $class: 'CloverPublisher', + cloverReportDir: '', + cloverReportFileName: 'build/logs/clover.xml', + ]) + junit 'build/logs/junit.xml' + } } } } \ No newline at end of file