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

This commit is contained in:
Timothy Warren 2021-02-12 09:39:28 -05:00
parent c100105fbc
commit 0c592b4932
1 changed files with 7 additions and 0 deletions

7
Jenkinsfile vendored
View File

@ -34,6 +34,13 @@ pipeline {
sh 'php ./vendor/bin/phpunit --colors=never'
}
}
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'
}
}
stage('Coverage') {
agent any
steps {