Merge pull request #2433 from thaJeztah/jenkins_split

Jenkinsfile: split e2e tests to separate stages
This commit is contained in:
Silvin Lubecki 2020-04-21 17:01:38 +02:00 committed by GitHub
commit 7a006fbee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 2 deletions

16
Jenkinsfile vendored
View File

@ -3,11 +3,23 @@ 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 "e2e (non-experimental)"
sh "E2E_UNIQUE_ID=clie2e${BUILD_NUMBER} \
IMAGE_TAG=clie2e${BUILD_NUMBER} \
DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e"
DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e-non-experimental"
stage "e2e (experimental)"
sh "E2E_UNIQUE_ID=clie2e${BUILD_NUMBER} \
IMAGE_TAG=clie2e${BUILD_NUMBER} \
DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e-experimental"
stage "e2e (ssh connhelper)"
sh "E2E_UNIQUE_ID=clie2e${BUILD_NUMBER} \
IMAGE_TAG=clie2e${BUILD_NUMBER} \
DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e-connhelper-ssh"
}
}