Attempt to add PHPStan messages to CI
This commit is contained in:
parent
a26c90ff86
commit
52a0ff275d
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -37,9 +37,8 @@ pipeline {
|
|||||||
stage('Code Cleanliness') {
|
stage('Code Cleanliness') {
|
||||||
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-result.xml"
|
||||||
recordIssues(tools: [checkStyle(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