Attempt to add PHPStan messages to CI

This commit is contained in:
Timothy Warren 2021-02-12 10:19:58 -05:00
parent 74ef13713d
commit 244372ff8c

4
Jenkinsfile vendored
View File

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