From 7a41a5d9a97757405f5cb54d540babac949f39bc Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 12 Feb 2021 09:51:52 -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 a32a7cf0..e490bbe4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,8 +37,8 @@ pipeline { stage('Code Cleanliness') { agent any steps { - sh "php ./vendor/bin/phpstan analyse src/ -l max -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml" - checkstyle 'build/logs/checkstyle.xml' + sh "php ./vendor/bin/phpstan analyse src/ -l max -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') {