Jenkinsfile: Make Dockerfile available at testing phase.

This commit is contained in:
/dev/urandom 2016-09-15 19:05:33 +02:00
parent 92b9a4b856
commit c902909923
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

8
Jenkinsfile vendored
View File

@ -193,7 +193,13 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
}
executions["$configuration on Linux"] = {
node("docker && linux && amd64") {
docker.build("github.com/IW4x/iw4x-client-testing-wine32", "--rm --force-rm -f wine32.Dockerfile jenkins").inside {
def image = null
dir("src") {
checkout scm
image = docker.build("github.com/IW4x/iw4x-client-testing-wine32", "--rm --force-rm -f wine32.Dockerfile jenkins")
deleteDir()
}
image.inside {
doUnitTests("IW4x $configuration (unit tests)", configuration)
}
}