Attempt to add PHPStan messages to CI

This commit is contained in:
Timothy Warren 2021-02-12 10:38:16 -05:00
parent 486e7dc982
commit 42004ed735

3
Jenkinsfile vendored
View File

@ -38,7 +38,8 @@ pipeline {
agent any agent any
steps { 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.xml" sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml"
recordIssues(tools: [phpstan(reportEncoding: 'UTF-8')]) // recordIssues(tools: [checkStyle(reportEncoding: 'UTF-8')])
checkStyle 'build/logs/checkstyle.xml'
} }
} }
stage('Coverage') { stage('Coverage') {