Jenkinsfile: move docker-py to separate stage

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-08-03 20:13:17 +02:00
parent 1e8ede514e
commit ad28fec1c9
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

16
Jenkinsfile vendored
View file

@ -63,6 +63,21 @@ pipeline {
'''
}
}
stage("Docker-py") {
steps {
sh '''
docker run --rm -t --privileged \
-v "$WORKSPACE/bundles:/go/src/github.com/docker/docker/bundles" \
--name docker-pr$BUILD_NUMBER \
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
-e DOCKER_GRAPHDRIVER \
docker:${GIT_COMMIT} \
hack/make.sh \
binary-daemon \
test-docker-py
'''
}
}
stage("Unit tests") {
steps {
sh '''
@ -168,7 +183,6 @@ pipeline {
hack/make.sh \
binary-daemon \
dynbinary-daemon \
test-docker-py \
test-integration-flaky \
test-integration \
cross