Tool installation on a Windows node fails for some reason at this rename:
Unpacking [https://nodejs.org/dist/v10.16.3/node-v10.16.3-win-x64.zip] to C:\Users\jenkins\tools\jenkins.plugins.nodejs.tools.NodeJSInstallation\v10 on devops-test3-vm
java.io.IOException: Failed to rename C:\Users\jenkins\tools\jenkins.plugins.nodejs.tools.NodeJSInstallation\v10\node-v10.16.3-win-x64 to C:\Users\jenkins\tools\jenkins.plugins.nodejs.tools.NodeJSInstallation\v10\node-v10.16.3-win-x64.__rename
at hudson.FilePath$MoveAllChildrenTo.invoke(FilePath.java:2171)
at hudson.FilePath$MoveAllChildrenTo.invoke(FilePath.java:2159)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Finished: FAILURE
I can confirm that this also happens exactly this way with nodejs 7, and only on Windows Server 2019. This does not happen on 2008, 2012, 2016 or Windows 10 (I have a matrix job with all of the above).
Deleting tools\jenkins.plugins.nodejs.tools.NodeJSInstallation did not help.
I can confirm that this also happens exactly this way with *nodejs 7*, and *only* on *Windows Server 2019*. This does not happen on 2008, 2012, 2016 or Windows 10 (I have a matrix job with all of the above).
Deleting *tools\jenkins.plugins.nodejs.tools.NodeJSInstallation* did not help.
I can confirm that this also happens exactly this way with *nodejs 7*, and *only* on *Windows Server 2019* slaves. This does not happen on 2008, 2012, 2016 or Windows 10 (I have a matrix job with all of the above).
Deleting *tools\jenkins.plugins.nodejs.tools.NodeJSInstallation* did not help.
Nikolas Falco I'd be happy to do some investigation and run some samples if you can point me in the right direction. Neither maven nor groovy auto-installs have this issue so the installation must be done differently (ie not using MoveAllChildrenTo?)