Try to report phpStan errors more directly
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
This commit is contained in:
parent
d23e6ef95f
commit
ede4ab437b
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -37,10 +37,10 @@ pipeline {
|
|||||||
stage('Code Cleanliness') {
|
stage('Code Cleanliness') {
|
||||||
agent any
|
agent any
|
||||||
steps {
|
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(
|
recordIssues(
|
||||||
failOnError: false,
|
failOnError: false,
|
||||||
tools: [phpStan(reportEncoding: 'UTF-8')]
|
tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')]
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user