public class NodeJSBuildWrapper
extends jenkins.tasks.SimpleBuildWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeJSBuildWrapper.DescriptorImpl |
jenkins.tasks.SimpleBuildWrapper.Context, jenkins.tasks.SimpleBuildWrapper.Disposer| Constructor and Description |
|---|
NodeJSBuildWrapper(String nodeJSInstallationName) |
NodeJSBuildWrapper(String nodeJSInstallationName,
String configId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigId() |
NodeJSInstallation |
getNodeJS()
Gets the NodeJS to invoke, or null to invoke the default one.
|
String |
getNodeJSInstallationName() |
void |
setConfigId(String configId) |
void |
setUp(jenkins.tasks.SimpleBuildWrapper.Context context,
hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.EnvVars initialEnvironment) |
@DataBoundConstructor public NodeJSBuildWrapper(String nodeJSInstallationName)
public NodeJSInstallation getNodeJS()
null otherwise.public String getNodeJSInstallationName()
public String getConfigId()
@DataBoundSetter public void setConfigId(String configId)
public void setUp(jenkins.tasks.SimpleBuildWrapper.Context context,
hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.EnvVars initialEnvironment)
throws IOException,
InterruptedException
setUp in class jenkins.tasks.SimpleBuildWrapperIOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.