Attempt to add PHPStan messages to CI

This commit is contained in:
Timothy Warren 2021-02-12 10:42:51 -05:00
parent a26c90ff86
commit 52a0ff275d

3
Jenkinsfile vendored
View File

@ -37,9 +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.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-result.xml"
recordIssues(tools: [checkStyle(reportEncoding: 'UTF-8')]) recordIssues(tools: [checkStyle(reportEncoding: 'UTF-8')])
// checkStyle 'build/logs/checkstyle.xml'
} }
} }
stage('Coverage') { stage('Coverage') {