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