Jenkins CI setup, try four
Some checks failed
Gitea - aviat/banker/master There was a failure building this commit

This commit is contained in:
Timothy Warren 2018-10-12 09:38:24 -04:00
parent 07de87d69d
commit 8368c91ff4

16
Jenkinsfile vendored
View File

@ -2,9 +2,7 @@ pipeline {
agent none agent none
stages { stages {
stage('PHP 7') { stage('PHP 7') {
steps { agent {
node {
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') {
@ -17,12 +15,8 @@ pipeline {
} }
} }
} }
}
stage('PHP 7.1') { stage('PHP 7.1') {
steps { agent {
node {
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.1') { docker.image('php:7.1') {
@ -35,11 +29,8 @@ pipeline {
} }
} }
} }
}
stage('PHP 7.2') { stage('PHP 7.2') {
steps { agent {
node {
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.2') { docker.image('php:7.2') {
@ -53,5 +44,4 @@ pipeline {
} }
} }
} }
}
} }