CI: Fix missing script block in jenkinsfiles

Change-Id: Ib4b6e4887695f230ea7a5b0c879b29fc5a13be4f
This commit is contained in:
George Joseph 2019-11-19 10:40:09 -07:00
parent 7702ea986e
commit d60f23ecbd
1 changed files with 4 additions and 2 deletions

View File

@ -183,8 +183,10 @@ pipeline {
}
post {
cleanup {
if (env.CLEANUP_WS_UNITTESTS.toBoolean()) {
cleanWs deleteDirs: true, notFailBuild: false
script {
if (env.CLEANUP_WS_UNITTESTS.toBoolean()) {
cleanWs deleteDirs: true, notFailBuild: false
}
}
}
/*