-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
NodeJS plugin 1.6.1
Jenkins 2.414.2
steps to reproduce
- Install the NodeJS Plugin 1.6.1
- Running jenkins using war, using java 17.0.7
- Create a NodeJS 12.22.12 tool
- Attempt to reference said tool in a pipeline
- It crashed with the following log
Unpacking https://nodejs.org/dist/v12.22.12/node-v12.22.12-darwin-arm64.tar.gz to /Users/brusan1/.jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS_12.22.12 on Jenkins FATAL: Failed to install https://nodejs.org/dist/v12.22.12/node-v12.22.12-darwin-arm64.tar.gz to /Users/brusan1/.jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS_12.22.12 java.io.FileNotFoundException: https://nodejs.org/dist/v12.22.12/node-v12.22.12-darwin-arm64.tar.gz at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1996) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) at java.base/sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3243) at java.base/java.net.URLConnection.getHeaderFieldLong(URLConnection.java:639) at java.base/java.net.URLConnection.getContentLengthLong(URLConnection.java:509) at java.base/java.net.URLConnection.getContentLength(URLConnection.java:493) at