Jenkins CI setup, try eight
Gitea - aviat/banker/master There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2018-10-12 10:53:48 -04:00
parent b694230f0b
commit edea686f4c
1 changed files with 11 additions and 20 deletions

13
Jenkinsfile vendored
View File

@ -1,13 +1,8 @@
pipeline { node {
agent none
stages {
stage('PHP 7') {
agent {
node {
checkout scm checkout scm
docker.image('memcached:latest').withRun('-p 11211:11211') { c -> docker.image('memcached:latest').withRun('-p 11211:11211') { c ->
docker.image('redis:latest').withRun('-p 6379:6379') { d -> docker.image('redis:latest').withRun('-p 6379:6379') { d ->
docker.image('php:7') { docker.image('php:7.2') {
steps { steps {
sh 'sh build/docker_install.sh > /dev/null' sh 'sh build/docker_install.sh > /dev/null'
sh 'curl -sS https://getcomposer.org/installer | php' sh 'curl -sS https://getcomposer.org/installer | php'
@ -17,8 +12,4 @@ pipeline {
} }
} }
} }
}
}
}
}
} }