-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
Jenkins 2.289.3
Node is Windows Server 2019 Standart
We are using the following pipeline (https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#deletedir-recursively-delete-the-current-directory-from-the-workspace):
if (currentResult == 'SUCCESS') { if (wipeOutWorkspaceOnSuccess) { dir("${workspaceDirectory}") { deleteDir() } echo "Wiping out ${workspaceDirectory} on ${NODE_NAME}" dir("${workspaceDirectory}/@tmp") { deleteDir() } echo "Wiping out ${workspaceDirectory}/@tmp on ${NODE_NAME}" } } else { }
And this seems to get stuck on windows often. The server - node communication is done via java 8 (Zulu).
I took a few thread dumps (log1.txt - log5.txt), which I am attaching here
Looking for suggestions on how to resolve this - maybe a problem on our end but I cannot determine this by looking at the threads.
I see that no files are being deleted despite all the waiting.