From 47ac8a97deac8b1b5e58283ae30994fdfa2446d0 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 3 Aug 2019 19:15:04 +0200 Subject: [PATCH] Jenkinsfile: remove .git mount in stages that don't use it The .git mount is only needed for the DCO check, and for building the binaries if `DOCKER_GITCOMMIT` is not set. Signed-off-by: Sebastiaan van Stijn --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index aebb1548f1..e12ff0b672 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -54,7 +54,6 @@ pipeline { sh ''' docker run --rm -t --privileged \ -v "$WORKSPACE/bundles:/go/src/github.com/docker/docker/bundles" \ - -v "$WORKSPACE/.git:/go/src/github.com/docker/docker/.git" \ --name docker-pr$BUILD_NUMBER \ -e DOCKER_GITCOMMIT=${GIT_COMMIT} \ -e DOCKER_GRAPHDRIVER \