Attempt to add PHPStan messages to CI
This commit is contained in:
parent
3c8b564ab9
commit
4c5aa1e3de
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -37,7 +37,7 @@ pipeline {
|
|||||||
stage('Code Cleanliness') {
|
stage('Code Cleanliness') {
|
||||||
agent any
|
agent any
|
||||||
steps {
|
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'
|
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'
|
checkstyle 'build/logs/checkstyle.xml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user