Jenkinsfile: Clean src directory before Docker image build for Linux unit testing.
This commit is contained in:
parent
3056e0639d
commit
56bd9261b6
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -247,6 +247,7 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
|
|||||||
try {
|
try {
|
||||||
def image = null
|
def image = null
|
||||||
dir("src") {
|
dir("src") {
|
||||||
|
deleteDir()
|
||||||
checkout scm
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user