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
442e59f6cf
commit
39b1d02862
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -35,15 +35,10 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Code Cleanliness') {
|
||||
agent {
|
||||
docker {
|
||||
image 'php:8-cli-alpine'
|
||||
args '-u root --privileged'
|
||||
}
|
||||
}
|
||||
agent any
|
||||
steps {
|
||||
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')])
|
||||
sh "php8 ./vendor/bin/phpstan analyse src/ -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml"
|
||||
recordIssues(tools: [checkstyle(reportEncoding: 'UTF-8', reportFileName: 'build/logs/checkstyle.xml')])
|
||||
}
|
||||
}
|
||||
stage('Coverage') {
|
||||
|
Loading…
Reference in New Issue
Block a user