Make PHPStan errors CI failures
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2021-02-16 14:56:05 -05:00
parent d3b45fbdc5
commit e77cfcf029
1 changed files with 5 additions and 2 deletions

7
Jenkinsfile vendored
View File

@ -37,8 +37,11 @@ pipeline {
stage('Code Cleanliness') {
agent any
steps {
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon"
recordIssues(tools: [phpStan(reportEncoding: 'UTF-8')])
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress --no-ansi "
recordIssues(
failOnError: false,
tools: [phpStan(reportEncoding: 'UTF-8')]
)
}
}
stage('Coverage') {