Attempt to add PHPStan messages to CI
This commit is contained in:
parent
486e7dc982
commit
42004ed735
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -38,7 +38,8 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
steps {
|
steps {
|
||||||
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml"
|
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml"
|
||||||
recordIssues(tools: [phpstan(reportEncoding: 'UTF-8')])
|
// recordIssues(tools: [checkStyle(reportEncoding: 'UTF-8')])
|
||||||
|
checkStyle 'build/logs/checkstyle.xml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Coverage') {
|
stage('Coverage') {
|
||||||
|
Loading…
Reference in New Issue
Block a user