Skip to content

Commit

Permalink
Run e2e tests in parallel with different engine version on Jenkins
Browse files Browse the repository at this point in the history
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
  • Loading branch information
silvin-lubecki committed May 19, 2020
1 parent 1814122 commit dc364a2
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,22 @@ wrappedNode(label: 'linux && x86_64', cleanWorkspace: true) {
stage "Git Checkout"
checkout scm

stage "Run end-to-end test suite"
sh "docker version"
sh "docker info"
sh "E2E_UNIQUE_ID=clie2e${BUILD_NUMBER} \
IMAGE_TAG=clie2e${BUILD_NUMBER} \
DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e"
stage("Run end-to-end test suite") {
sh "docker version"
sh "docker info"
parallel (
"Stable engine" : {
sh "E2E_UNIQUE_ID=clie2e${BUILD_NUMBER} \
IMAGE_TAG=clie2e${BUILD_NUMBER} \
DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e"
},
"18.09" : {
sh "E2E_ENGINE_VERSION=18.09-dind \
E2E_UNIQUE_ID=clie2e${BUILD_NUMBER} \
IMAGE_TAG=clie2e${BUILD_NUMBER} \
DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e"
}
)
}
}
}

0 comments on commit dc364a2

Please sign in to comment.