ci: add deleteDirs:true for cleanWs to fix cleanup
This is a continuation of a fix done in: https://github.com/status-im/status-desktop/pull/7968 This adds `deleteDirs` option to delete the whole workspace: >When deferred wipeout is disabled, the old implementation of >filesystem content deletion is used. If you want the same >behavior as with deferred wipeout, you have to set the plugin >attribute `deleteDirs` to true as well. https://github.com/jenkinsci/ws-cleanup-plugin#deferred-wipeout Because otherwise the `vendor` folder remains and causes issues when `.git` is a file. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4f60c31282
commit
b5e317db4d
|
@ -99,6 +99,6 @@ pipeline {
|
|||
post {
|
||||
success { script { github.notifyPR(true) } }
|
||||
failure { script { github.notifyPR(false) } }
|
||||
cleanup { cleanWs(disableDeferredWipeout: true) }
|
||||
cleanup { cleanWs(disableDeferredWipeout: true, deleteDirs: true) }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue