Skip to content

Commit

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

stage "Run end-to-end test suite"
stage "Docker info"
sh "docker version"
sh "docker info"

stage("Run end-to-end test suite - Stable Engine")
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 - 18.09 Engine")
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"
}
Expand Down

0 comments on commit af4a074

Please sign in to comment.