public class NodeJsCommandInterpreter
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeJsCommandInterpreter.NodeJsDescriptor
Provides builder details for the job configuration page.
|
| Modifier and Type | Field and Description |
|---|---|
static NodeJsCommandInterpreter.NodeJsDescriptor |
DESCRIPTOR |
| Constructor and Description |
|---|
NodeJsCommandInterpreter(String command,
String nodeJSInstallationName)
Constructs a
NodeJsCommandInterpreter with specified command. |
| Modifier and Type | Method and Description |
|---|---|
hudson.FilePath |
createScriptFile(hudson.FilePath dir)
Creates a script file in a temporary name in the specified directory.
|
String |
getCommand() |
hudson.model.Descriptor<hudson.tasks.Builder> |
getDescriptor() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild@Extension public static final NodeJsCommandInterpreter.NodeJsDescriptor DESCRIPTOR
@DataBoundConstructor public NodeJsCommandInterpreter(String command, String nodeJSInstallationName)
NodeJsCommandInterpreter with specified command.command - the NodeJS scriptpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws InterruptedException
InterruptedExceptionpublic hudson.FilePath createScriptFile(@Nonnull
hudson.FilePath dir)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic String getCommand()
public hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004-2016. All Rights Reserved.