Make PHPStan errors CI failures
This commit is contained in:
parent
8fadf9d589
commit
9f680a75e3
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -37,11 +37,11 @@ pipeline {
|
||||
stage('Code Cleanliness') {
|
||||
agent any
|
||||
steps {
|
||||
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress --no-ansi "
|
||||
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress --no-ansi > build/logs/phpstan.log"
|
||||
recordIssues(
|
||||
failOnError: false,
|
||||
tools: [phpStan(reportEncoding: 'UTF-8')]
|
||||
)
|
||||
tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')]
|
||||
))
|
||||
}
|
||||
}
|
||||
stage('Coverage') {
|
||||
|
Loading…
Reference in New Issue
Block a user