-
Bug
-
Resolution: Not A Defect
-
Major
-
Plugin: nodejs-plugin 1.4.0
Jenkins: 2.249.3
OS: SunOS - 5.11
os.arch: sparcv9
64 bit
java.runtime.name: Java(TM) SE Runtime Environment
java.runtime.version: 1.8.0_251-b08
java.specification.name: Java Platform API Specification
java.specification.vendor: Oracle Corporation
java.specification.version: 1.8
Plugin: nodejs-plugin 1.4.0 Jenkins: 2.249.3 OS: SunOS - 5.11 os.arch: sparcv9 64 bit java.runtime.name: Java(TM) SE Runtime Environment java.runtime.version: 1.8.0_251-b08 java.specification.name: Java Platform API Specification java.specification.vendor: Oracle Corporation java.specification.version: 1.8
Checking the box
Provide Node & npm bin/ folder to PATH
`and choosing a NodeJS installation of any 12, 14 or 16 node version will produce the following stack trace when attempting to build
ERROR: Failed to parse POMs jenkins.plugins.nodejs.tools.DetectionFailedException: Error getting system properties on remote Node at jenkins.plugins.nodejs.tools.CPU.of(CPU.java:71) at jenkins.plugins.nodejs.tools.ToolsUtils.getCPU(ToolsUtils.java:43) at jenkins.plugins.nodejs.tools.ToolsUtils.getCPU(ToolsUtils.java:39) at jenkins.plugins.nodejs.tools.NodeJSInstaller$NodeJSInstallable.forNode(NodeJSInstaller.java:341) at jenkins.plugins.nodejs.tools.NodeJSInstaller$NodeJSInstallable.forNode(NodeJSInstaller.java:332) at jenkins.plugins.nodejs.tools.NodeJSInstaller.performInstallation(NodeJSInstaller.java:112) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) at jenkins.plugins.nodejs.tools.NodeJSInstallation.forNode(NodeJSInstallation.java:95) at jenkins.plugins.nodejs.NodeJSBuildWrapper.setUp(NodeJSBuildWrapper.java:158) at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:146) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:665) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504) at hudson.model.Run.execute(Run.java:1894) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) Caused by: jenkins.plugins.nodejs.tools.DetectionFailedException: Unknown CPU architecture: sparcv9 at jenkins.plugins.nodejs.tools.CPU.detect(CPU.java:117) at jenkins.plugins.nodejs.tools.CPU.of(CPU.java:69)