Make PHPStan errors CI failures
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
This commit is contained in:
parent
ea14b30283
commit
49c6b633bf
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -37,7 +37,7 @@ pipeline {
|
||||
stage('Code Cleanliness') {
|
||||
agent any
|
||||
steps {
|
||||
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-progress --no-ansi | awk '{\$1=\$1;print}' > build/logs/phpstan.log"
|
||||
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-progress --no-ansi --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/phpstan.log"
|
||||
recordIssues(
|
||||
failOnError: false,
|
||||
tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')]
|
||||
|
Loading…
Reference in New Issue
Block a user