Package org.jenkinsci.plugins.golang
Class GolangInstaller
- java.lang.Object
-
- hudson.tools.ToolInstaller
-
- hudson.tools.DownloadFromUrlInstaller
-
- org.jenkinsci.plugins.golang.GolangInstaller
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstaller>
public class GolangInstaller extends DownloadFromUrlInstaller
Installs the Go programming language tools by downloading the archive for the detected OS/architecture combo.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GolangInstaller.DescriptorImpl
static class
GolangInstaller.GolangInstallable
static class
GolangInstaller.GolangRelease
static class
GolangInstaller.GolangReleaseList
-
Nested classes/interfaces inherited from class hudson.tools.DownloadFromUrlInstaller
DownloadFromUrlInstaller.Installable, DownloadFromUrlInstaller.InstallableList, DownloadFromUrlInstaller.NodeSpecificInstallable
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.tools.DownloadFromUrlInstaller
id
-
Fields inherited from class hudson.tools.ToolInstaller
tool
-
-
Constructor Summary
Constructors Constructor Description GolangInstaller(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilePath
performInstallation(ToolInstallation tool, Node node, TaskListener log)
-
Methods inherited from class hudson.tools.DownloadFromUrlInstaller
findPullUpDirectory, getInstallable, isUpToDate
-
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
-
-
-
Constructor Detail
-
GolangInstaller
@DataBoundConstructor public GolangInstaller(String id)
-
-
Method Detail
-
performInstallation
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException
- Overrides:
performInstallation
in classDownloadFromUrlInstaller
- Throws:
IOException
InterruptedException
-
-