Attempt to add code quality stuff back to Jenkins
Some checks failed
Gitea - aviat/banker/pipeline/head There was a failure building this commit

This commit is contained in:
Timothy Warren 2023-03-16 15:03:45 -04:00
parent 989df7dae2
commit 57bb3c859c

2
Jenkinsfile vendored
View File

@ -8,7 +8,6 @@ pipeline {
sh 'rm -f composer.lock' sh 'rm -f composer.lock'
sh 'phive --no-progress install --trust-gpg-keys 67F861C3D889C656' sh 'phive --no-progress install --trust-gpg-keys 67F861C3D889C656'
sh 'php composer.phar install --ignore-platform-reqs' sh 'php composer.phar install --ignore-platform-reqs'
sh 'cd tools && composer install --ignore-platform-reqs'
} }
} }
stage("Test PHP 8") { stage("Test PHP 8") {
@ -56,6 +55,7 @@ pipeline {
stage('Code Cleanliness') { stage('Code Cleanliness') {
agent any agent any
steps { steps {
sh 'cd tools && composer install --ignore-platform-reqs && cd ..'
sh 'mkdir -p build/logs' sh 'mkdir -p build/logs'
sh 'touch build/logs/phpstan.log' sh 'touch build/logs/phpstan.log'
sh 'composer run-script ci:phpstan' sh 'composer run-script ci:phpstan'