Jenkinsfile: move building e2e image to "unit-vendor" stage
@@ -77,6 +77,14 @@ pipeline {
'''
}
}
+ stage("Build e2e image") {
+ steps {
+ sh '''
+ echo "Building e2e image"
+ docker build --build-arg DOCKER_GITCOMMIT=${GIT_COMMIT} -t moby-e2e-test -f Dockerfile.e2e .
+ '''
+ }
+ }
}
post {
@@ -149,14 +157,6 @@ pipeline {
'''
}
}
- stage("Build e2e image") {
- steps {
- sh '''
- echo "Building e2e image"
- docker build --build-arg DOCKER_GITCOMMIT=${GIT_COMMIT} -t moby-e2e-test -f Dockerfile.e2e .
- '''
- }
- }
}
post {
