From ede4ab437b48f23bd3a55c2d81a020bfc5b37930 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 12 Feb 2021 11:43:25 -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 3103379d..7212327b 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 " + sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress --no-ansi > build/logs/phpstan.log" recordIssues( failOnError: false, - tools: [phpStan(reportEncoding: 'UTF-8')] + tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')] ) } }