org.jvnet.hudson.test
Class HudsonTestCase.TestBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
org.jvnet.hudson.test.HudsonTestCase.TestBuildWrapper
- All Implemented Interfaces:
- ExtensionPoint, Describable<BuildWrapper>
- Enclosing class:
- HudsonTestCase
public static class HudsonTestCase.TestBuildWrapper
- extends BuildWrapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buildResultInTearDown
public Result buildResultInTearDown
HudsonTestCase.TestBuildWrapper
public HudsonTestCase.TestBuildWrapper()
setUp
public BuildWrapper.Environment setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener)
throws IOException,
InterruptedException
- Description copied from class:
BuildWrapper
- Runs before the
Builder
runs (but after the checkout has occurred), and performs a set up.
- Overrides:
setUp
in class BuildWrapper
- Parameters:
build
- The build in progress for which an BuildWrapper.Environment
object is created.
Never null.launcher
- This launcher can be used to launch processes for this build.
If the build runs remotely, launcher will also run a job on that remote machine.
Never null.listener
- Can be used to send any message.
- Returns:
- non-null if the build can continue, null if there was an error
and the build needs to be aborted.
- Throws:
IOException
- terminates the build abnormally. Hudson will handle the exception
and reports a nice error message.
InterruptedException
Copyright © 2004-2013. All Rights Reserved.