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 10:04:13 -05:00
parent 3964157212
commit 442e59f6cf
1 changed files with 6 additions and 1 deletions

7
Jenkinsfile vendored
View File

@ -35,7 +35,12 @@ pipeline {
}
}
stage('Code Cleanliness') {
agent any
agent {
docker {
image 'php:8-cli-alpine'
args '-u root --privileged'
}
}
steps {
sh "php ./vendor/bin/phpstan analyse src/ -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle > build/logs/checkstyle.xml"
recordIssues(tools: [checkstyle(reportEncoding: 'UTF-8')])