jenkins.plugins.nodejs.tools
Class NpmPackagesBuildWrapper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by jenkins.plugins.nodejs.tools.NpmPackagesBuildWrapper
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class NpmPackagesBuildWrapper
extends hudson.tasks.BuildWrapper

Author:
fcamblor

Nested Class Summary
static class NpmPackagesBuildWrapper.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static NpmPackagesBuildWrapper.DescriptorImpl DESCRIPTOR
           
 
Constructor Summary
NpmPackagesBuildWrapper(String nodeJSInstallationName)
           
 
Method Summary
 hudson.Launcher decorateLauncher(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 String getNodeJSInstallationName()
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final NpmPackagesBuildWrapper.DescriptorImpl DESCRIPTOR
Constructor Detail

NpmPackagesBuildWrapper

@DataBoundConstructor
public NpmPackagesBuildWrapper(String nodeJSInstallationName)
Method Detail

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws IOException,
                                                   InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException

getNodeJSInstallationName

public String getNodeJSInstallationName()

decorateLauncher

public hudson.Launcher decorateLauncher(hudson.model.AbstractBuild build,
                                        hudson.Launcher launcher,
                                        hudson.model.BuildListener listener)
                                 throws IOException,
                                        InterruptedException,
                                        hudson.model.Run.RunnerAbortedException
Overrides:
decorateLauncher in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException
hudson.model.Run.RunnerAbortedException


Copyright © 2004-2013. All Rights Reserved.