Attempt to add PHPStan messages to CI
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit

This commit is contained in:
Timothy Warren 2021-02-12 09:51:52 -05:00
parent dabb6be291
commit 7a41a5d9a9

4
Jenkinsfile vendored
View File

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