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