From 0ad9a5094b1c543bf4a9f5005d6b4439dca4ea59 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 12 Feb 2021 10:19:58 -0500 Subject: [PATCH] Attempt to add PHPStan messages to CI --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6814daed..5ff92685 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,8 +37,8 @@ pipeline { stage('Code Cleanliness') { agent any steps { - sh "php8 ./vendor/bin/phpstan analyse src/ -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml" - recordIssues(tools: [checkstyle(reportEncoding: 'UTF-8', reportFileName: 'build/logs/checkstyle.xml')]) + sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml" + recordIssues(tools: [checkstyle(reportEncoding: 'UTF-8')]) } } stage('Coverage') {