Class UpxInstaller
java.lang.Object
hudson.tools.ToolInstaller
io.github.lgcastellucci.upxcompress.UpxInstaller
- All Implemented Interfaces:
ExtensionPoint,Describable<ToolInstaller>
Downloads and installs a specific version of UPX, straight from the
official upx/upx GitHub releases, matching the OS/architecture of the
node the build runs on. Verifies the downloaded archive's SHA-256
against the digest GitHub's release API publishes for the asset,
when available.
The download itself runs on the target node (not the controller),
using Jenkins' own proxy configuration (
ProxyConfiguration),
so it also works through an agent behind a proxy.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.tools.ToolInstaller
tool -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionperformInstallation(ToolInstallation tool, Node node, TaskListener log) Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
Constructor Details
-
UpxInstaller
-
-
Method Details
-
getVersion
-
performInstallation
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
performInstallationin classToolInstaller- Throws:
IOExceptionInterruptedException
-