org.jenkinsci.plugins.pretestedintegration
Class PretestedIntegrationBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
hudson.tasks.BuildWrapper
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 classes/interfaces inherited from class hudson.tasks.BuildWrapper |
hudson.tasks.BuildWrapper.Environment |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
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 |
scmBridge
public final AbstractSCMBridge scmBridge
PretestedIntegrationBuildWrapper
@DataBoundConstructor
public PretestedIntegrationBuildWrapper(AbstractSCMBridge scmBridge)
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.