-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.277
Golang plugin 1.3
Using a Kubentes cloud worker
Running on a Raspberry PI 4 with 8gb of memory.
Because the golang plugin doesn't allow the user to select a particular architecture for install, the install fails on an ARM system.
org.jenkinsci.plugins.golang.GolangInstaller$InstallationFailedException: Could not install Go because arm is not a supported CPU type at org.jenkinsci.plugins.golang.GolangInstaller.performInstallation(GolangInstaller.java:44) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:217) at org.jenkinsci.plugins.golang.GolangInstallation.forNode(GolangInstallation.java:44) at org.jenkinsci.plugins.golang.GolangInstallation.forNode(GolangInstallation.java:22) at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:152) at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:133) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Finished: FAILURE
Workaround:
Define an installer that pulls the correct tar file.