org.jenkinsci.plugins.pretestedintegration
Class PretestedIntegrationBuildWrapper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationBuildWrapper
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class PretestedIntegrationBuildWrapper
extends hudson.tasks.BuildWrapper

The build wrapper determines what will happen before the build will run. Depending on the chosen SCM, a more specific function will be called.


Nested Class Summary
static class PretestedIntegrationBuildWrapper.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
 AbstractSCMBridge scmBridge
           
 
Constructor Summary
PretestedIntegrationBuildWrapper(AbstractSCMBridge scmBridge)
           
 
Method Summary
 void ensurePublisher(hudson.model.AbstractBuild<?,?> build)
           
 PretestedIntegrationBuildWrapper.DescriptorImpl getDescriptor()
           
 void preCheckout()
          Prints out version information.
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          Jenkins hook that fires after the workspace is initialized.
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scmBridge

public final AbstractSCMBridge scmBridge
Constructor Detail

PretestedIntegrationBuildWrapper

@DataBoundConstructor
public PretestedIntegrationBuildWrapper(AbstractSCMBridge scmBridge)
Method Detail

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
Jenkins hook that fires after the workspace is initialized. Calls the SCM-specific function according to the chosen SCM.

Overrides:
setUp in class hudson.tasks.BuildWrapper
Parameters:
build -
launcher -
listener -
Returns:

ensurePublisher

public void ensurePublisher(hudson.model.AbstractBuild<?,?> build)
                     throws IOException
Throws:
IOException

preCheckout

public void preCheckout()
                 throws IOException,
                        InterruptedException
Prints out version information.

Throws:
IOException
InterruptedException

getDescriptor

public PretestedIntegrationBuildWrapper.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>


Copyright © 2004-2014. All Rights Reserved.