[Jenkinsfile] Added deleteDir on branch 'master'
[ci skip]
This commit is contained in:
parent
8e5446e198
commit
ebbc0ec8cf
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -193,6 +193,12 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
|
||||
gitlabCommitStatus("Checkout & Versioning") {
|
||||
node("windows") {
|
||||
jobWorkspace("versioning") {
|
||||
if (env.BRANCH_NAME == 'master')
|
||||
{
|
||||
echo 'Reset build environment'
|
||||
deleteDir()
|
||||
}
|
||||
|
||||
retry(5) {
|
||||
checkout scm
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user