From 35d8db08b7039591230150282a1b229640d65111 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 12 Feb 2021 11:27:20 -0500 Subject: [PATCH] Try to report phpStan errors more directly --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 27a6c1ac..6b418c23 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { stage('Code Cleanliness') { agent any steps { - sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle-result.xml" + sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon" recordIssues(tools: [phpStan(reportEncoding: 'UTF-8')]) } }