Attempt to add PHPStan messages to CI
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
3964157212
commit
442e59f6cf
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -35,7 +35,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Code Cleanliness') {
|
stage('Code Cleanliness') {
|
||||||
agent any
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'php:8-cli-alpine'
|
||||||
|
args '-u root --privileged'
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh "php ./vendor/bin/phpstan analyse src/ -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle > build/logs/checkstyle.xml"
|
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')])
|
recordIssues(tools: [checkstyle(reportEncoding: 'UTF-8')])
|
||||||
|
Loading…
Reference in New Issue
Block a user