php-kilo/Jenkinsfile
Timothy J Warren ce5389c242
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
Give the docker image the correct permissions
2019-12-04 16:26:16 -05:00

16 lines
334 B
Groovy

pipeline {
agent {
dockerfile {
args '-u root --privileged'
}
}
stages {
stage('PHP 7.4') {
steps {
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install'
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests'
}
}
}
}