public class NodeJSInstaller
extends hudson.tools.DownloadFromUrlInstaller
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeJSInstaller.CPU
CPU type.
|
static class |
NodeJSInstaller.DescriptorImpl |
static class |
NodeJSInstaller.Platform
Supported platform.
|
static class |
NodeJSInstaller.Preference |
| Modifier and Type | Field and Description |
|---|---|
static String |
NPM_PACKAGES_RECORD_FILENAME |
| Constructor and Description |
|---|
NodeJSInstaller(String id,
String npmPackages,
long npmPackagesRefreshHours) |
| Modifier and Type | Method and Description |
|---|---|
protected static hudson.FilePath |
_preferredLocation(hudson.tools.ToolInstallation tool,
hudson.model.Node node)
COPY PASTER ToolInstaller.preferredLocation() in order to make it static...
|
static hudson.FilePath |
binFolderOf(NodeJSInstallation intallation,
hudson.model.Node node) |
String |
getNpmPackages() |
Long |
getNpmPackagesRefreshHours() |
hudson.FilePath |
performInstallation(hudson.tools.ToolInstallation tool,
hudson.model.Node node,
hudson.model.TaskListener log) |
findPullUpDirectory, getInstallable, isUpToDatepublic static final String NPM_PACKAGES_RECORD_FILENAME
public static hudson.FilePath binFolderOf(NodeJSInstallation intallation, hudson.model.Node node)
protected static hudson.FilePath _preferredLocation(hudson.tools.ToolInstallation tool,
hudson.model.Node node)
tool - the tool being installednode - the computer on which to install the toolToolInstallation.getHome() if specified, else a path within the local
Jenkins work area named according to ToolInstallation.getName()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 String getNpmPackages()
public Long getNpmPackagesRefreshHours()
Copyright © 2004-2016. All Rights Reserved.