Make PHPStan errors CI failures

This commit is contained in:
Timothy Warren 2021-02-16 14:53:21 -05:00
parent e8ddfd8b37
commit d3b45fbdc5

4
Jenkinsfile vendored
View File

@ -37,8 +37,8 @@ pipeline {
stage('Code Cleanliness') { stage('Code Cleanliness') {
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-result.xml" sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon"
recordIssues(tools: [checkStyle(reportEncoding: 'UTF-8')]) recordIssues(tools: [phpStan(reportEncoding: 'UTF-8')])
} }
} }
stage('Coverage') { stage('Coverage') {