From aa3e73d184a96fe416e3b33e2449b4d9505984ce Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 12 Feb 2021 11:48:24 -0500 Subject: [PATCH] Try to report phpStan errors more directly --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7212327b..65b7af91 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,10 +37,10 @@ pipeline { stage('Code Cleanliness') { agent any steps { - sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress --no-ansi > build/logs/phpstan.log" + sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-progress --no-ansi" recordIssues( failOnError: false, - tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')] + tools: [phpStan(reportEncoding: 'UTF-8')] ) } }