ci: disable deferred wipeout for Windows
A potential partial fix found for an issue found in: https://github.com/status-im/status-desktop/pull/7789 Where an incomplete broken checkout of a `vendor` module which crated a `.git` file instead of a directory in `vendor/nimPNG` caused the error: ``` $ git submodule update --init --recursive vendor/nimPNG fatal: Needed a single revision Unable to find current revision in submodule path '../nimPNG' ``` Which then was not correctly cleaned up and in turn caused error: ``` org.jenkinsci.plugins.workflow.steps.MissingContextVariableException: Required context class hudson.FilePath is missing Perhaps you forgot to surround the code with a step that provides this, such as: node, dockerNode ... ``` The last known successful CI build for that PR showed in logs: ``` 00:05:13 [WS-CLEANUP] Deleting project workspace... 00:05:13 [WS-CLEANUP] Deferred wipeout is used... 00:05:13 [WS-CLEANUP] done ``` Which means the `Workspace Cleanup` plugin uses the `Resource Disposer` plugin to wipe the workspaace in the background, which could potentially fail: https://plugins.jenkins.io/ws-cleanup/#plugin-content-deferred-wipeout Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
dfc5db27d5
commit
e11d522e8e
|
@ -99,6 +99,6 @@ pipeline {
|
|||
post {
|
||||
success { script { github.notifyPR(true) } }
|
||||
failure { script { github.notifyPR(false) } }
|
||||
always { cleanWs() }
|
||||
always { cleanWs(disableDeferredWipeout: true) }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue