From 56bd9261b682f96834507acbd96c7fa23f24cfb8 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Mon, 3 Oct 2016 22:30:38 +0200 Subject: [PATCH] Jenkinsfile: Clean src directory before Docker image build for Linux unit testing. --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 75348939..92f80332 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -247,6 +247,7 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"]) try { def image = null dir("src") { + deleteDir() checkout scm image = docker.build("github.com/IW4x/iw4x-client-testing-wine32", "--rm --force-rm -f jenkins/wine32.Dockerfile jenkins") deleteDir()