Closer to working Jenkins

This commit is contained in:
Timothy Warren 2018-10-11 12:50:29 -04:00
parent 1fa11cd50d
commit 1cd8386559

6
Jenkinsfile vendored
View File

@ -6,7 +6,8 @@ pipeline {
docker { image 'php:7.1-alpine' } docker { image 'php:7.1-alpine' }
} }
steps { steps {
sh 'build/docker_install.sh > /dev/null' sh 'chmod +x build/docker_install.sh'
sh 'build/docker_install.sh'
sh 'apk add --no-cache php7-phpdbg' sh 'apk add --no-cache php7-phpdbg'
sh 'curl -sS https://getcomposer.org/installer | php' sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install --ignore-platform-reqs' sh 'php composer.phar install --ignore-platform-reqs'
@ -18,7 +19,8 @@ pipeline {
docker { image 'php:7.2-alpine' } docker { image 'php:7.2-alpine' }
} }
steps { steps {
sh 'build/docker_install.sh > /dev/null' sh 'chmod +x build/docker_install.sh'
sh 'build/docker_install.sh'
sh 'apk add --no-cache php7-phpdbg' sh 'apk add --no-cache php7-phpdbg'
sh 'curl -sS https://getcomposer.org/installer | php' sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install --ignore-platform-reqs' sh 'php composer.phar install --ignore-platform-reqs'