Browse Source

Jenkinsfile: move docker-py to separate stage

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 6 years ago
parent
commit
ad28fec1c9
1 changed files with 15 additions and 1 deletions
  1. 15 1
      Jenkinsfile

+ 15 - 1
Jenkinsfile

@@ -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