Jenkinsfile: Circumvent issues regarding failing Linux unit tests.

This commit is contained in:
/dev/urandom 2016-10-12 08:36:59 +02:00
parent 035aa56f8c
commit 9b57436f9b
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

5
Jenkinsfile vendored
View File

@ -203,6 +203,8 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
currentBuild.setDisplayName "$version (#${env.BUILD_NUMBER})" currentBuild.setDisplayName "$version (#${env.BUILD_NUMBER})"
} }
stash name: "jenkins-files", includes: "jenkins/**"
} }
} }
} }
@ -253,8 +255,7 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
try { try {
def image = null def image = null
dir("src") { dir("src") {
deleteDir() unstash "jenkins-files"
checkout scm
image = docker.build("github.com/IW4x/iw4x-client-testing-wine32", "--rm --force-rm -f jenkins/wine32.Dockerfile jenkins") image = docker.build("github.com/IW4x/iw4x-client-testing-wine32", "--rm --force-rm -f jenkins/wine32.Dockerfile jenkins")
deleteDir() deleteDir()
} }