Jenkinsfile: Clean src directory before Docker image build for Linux unit testing.

This commit is contained in:
/dev/urandom 2016-10-03 22:30:38 +02:00
parent 3056e0639d
commit 56bd9261b6
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

1
Jenkinsfile vendored
View File

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