Attempt to add PHPStan messages to CI
This commit is contained in:
parent
4c5aa1e3de
commit
ce3260a2f3
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -37,8 +37,8 @@ pipeline {
|
||||
stage('Code Cleanliness') {
|
||||
agent any
|
||||
steps {
|
||||
sh "php ./vendor/bin/phpstan analyse src/ -l max -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml"
|
||||
checkstyle 'build/logs/checkstyle.xml'
|
||||
sh "php ./vendor/bin/phpstan analyse src/ -l max -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')])
|
||||
}
|
||||
}
|
||||
stage('Coverage') {
|
||||
|
Loading…
Reference in New Issue
Block a user