public class CmakeInstaller
extends hudson.tools.DownloadFromUrlInstaller
| Modifier and Type | Class and Description |
|---|---|
static class |
CmakeInstaller.CmakeInstallable |
static class |
CmakeInstaller.CmakeInstallableList
Represents the de-serialized JSON data file containing all installable
Cmake versions.
|
static class |
CmakeInstaller.CmakeVariant |
static class |
CmakeInstaller.DescriptorImpl |
hudson.tools.DownloadFromUrlInstaller.Installable, hudson.tools.DownloadFromUrlInstaller.InstallableList, hudson.tools.DownloadFromUrlInstaller.NodeSpecificInstallable| Constructor and Description |
|---|
CmakeInstaller(String id) |
| Modifier and Type | Method and Description |
|---|---|
protected hudson.FilePath |
findPullUpDirectory(hudson.FilePath root)
Overwritten since 3.x archives from cmake.org have more than just the
"cmake-<version>" directory |
hudson.tools.DownloadFromUrlInstaller.Installable |
getInstallable(hudson.tools.ToolInstallation toolInstallation,
String nodeOsFamilyJvm,
String nodeOsArchJvm)
Overloaded to select the OS-ARCH specific variant and to fill in the
variant´s URL.
|
hudson.FilePath |
performInstallation(hudson.tools.ToolInstallation tool,
hudson.model.Node node,
hudson.model.TaskListener log) |
@DataBoundConstructor public CmakeInstaller(String id)
public hudson.FilePath performInstallation(hudson.tools.ToolInstallation tool,
hudson.model.Node node,
hudson.model.TaskListener log)
throws IOException,
InterruptedException
performInstallation in class hudson.tools.DownloadFromUrlInstallerIOExceptionInterruptedExceptionpublic hudson.tools.DownloadFromUrlInstaller.Installable getInstallable(hudson.tools.ToolInstallation toolInstallation,
String nodeOsFamilyJvm,
String nodeOsArchJvm)
throws IOException
toolInstallation - the ToolInstallation to get an Installable fornodeOsFamilyJvm - the value of the JVM system property "os.name" of the node,nodeOsArchJvm - the value of the JVM system property "os.arch" of the nodehudson.AbortException - if no matching download URL is knownIOExceptionprotected hudson.FilePath findPullUpDirectory(hudson.FilePath root)
throws IOException,
InterruptedException
"cmake-<version>" directoryfindPullUpDirectory in class hudson.tools.DownloadFromUrlInstallerIOExceptionInterruptedExceptionCopyright © 2016–2021. All rights reserved.