Browse code

Jenkinsfile: move docker-py to separate stage

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit ad28fec1c98b4f28fef0c9e90194497139b7ca08)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/08/04 03:13:17
Showing 1 changed files
... ...
@@ -63,6 +63,21 @@ pipeline {
63 63
                                 '''
64 64
                             }
65 65
                         }
66
+                        stage("Docker-py") {
67
+                            steps {
68
+                                sh '''
69
+                                docker run --rm -t --privileged \
70
+                                  -v "$WORKSPACE/bundles:/go/src/github.com/docker/docker/bundles" \
71
+                                  --name docker-pr$BUILD_NUMBER \
72
+                                  -e DOCKER_GITCOMMIT=${GIT_COMMIT} \
73
+                                  -e DOCKER_GRAPHDRIVER \
74
+                                  docker:${GIT_COMMIT} \
75
+                                  hack/make.sh \
76
+                                    binary-daemon \
77
+                                    test-docker-py
78
+                                '''
79
+                            }
80
+                        }
66 81
                         stage("Unit tests") {
67 82
                             steps {
68 83
                                 sh '''
... ...
@@ -168,7 +183,6 @@ pipeline {
168 168
                                   hack/make.sh \
169 169
                                     binary-daemon \
170 170
                                     dynbinary-daemon \
171
-                                    test-docker-py \
172 171
                                     test-integration-flaky \
173 172
                                     test-integration \
174 173
                                     cross