Class NPMStep
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- io.interrogate.npmyarnwrappersteps.plugin.NodeStep
-
- io.interrogate.npmyarnwrappersteps.plugin.NPMStep
-
- All Implemented Interfaces:
hudson.ExtensionPoint
,hudson.model.Describable<hudson.tasks.Builder>
,hudson.tasks.BuildStep
,java.io.Serializable
,jenkins.tasks.SimpleBuildStep
public class NPMStep extends NodeStep implements jenkins.tasks.SimpleBuildStep, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NPMStep.DescriptorImplementation
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
-
-
Constructor Summary
Constructors Constructor Description NPMStep(java.lang.String command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommand()
void
perform(hudson.model.Run build, hudson.FilePath workspace, hudson.EnvVars envVars, hudson.Launcher launcher, hudson.model.TaskListener listener)
-
Methods inherited from class io.interrogate.npmyarnwrappersteps.plugin.NodeStep
getWorkspaceSubdirectory, setUpNVM, setWorkspaceSubdirectory
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getCommand
@Nonnull public java.lang.String getCommand()
-
perform
public void perform(@Nonnull hudson.model.Run build, @Nonnull hudson.FilePath workspace, @Nonnull hudson.EnvVars envVars, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws java.io.IOException, java.lang.InterruptedException
- Specified by:
perform
in interfacejenkins.tasks.SimpleBuildStep
- Throws:
java.io.IOException
java.lang.InterruptedException
-
-