Try to report phpStan errors more directly

This commit is contained in:
Timothy Warren 2021-02-12 11:43:25 -05:00
parent c900e379c5
commit c37f50d06e
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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')]
)
}
}