Change-Id: I9f44a3d5085ea7880fad1a3883a4820907e29ea3
}
post {
cleanup {
- if (env.CLEANUP_WS_GATES.toBoolean()) {
- cleanWs deleteDirs: true, notFailBuild: false
+ script {
+ if (env.CLEANUP_WS_GATES.toBoolean()) {
+ cleanWs deleteDirs: true, notFailBuild: false
+ }
}
}
/*
}
post {
cleanup {
- if (env.CLEANUP_WS_DAILIES.toBoolean()) {
- cleanWs deleteDirs: true, notFailBuild: false
+ script {
+ if (env.CLEANUP_WS_DAILIES.toBoolean()) {
+ cleanWs deleteDirs: true, notFailBuild: false
+ }
}
}
success {
}
post {
cleanup {
- if (env.CLEANUP_WS_REF_DEBUG.toBoolean()) {
- cleanWs deleteDirs: true, notFailBuild: false
+ script {
+ if (env.CLEANUP_WS_REF_DEBUG.toBoolean()) {
+ cleanWs deleteDirs: true, notFailBuild: false
+ }
}
}
success {