Class ReplicationFailedHandler
- java.lang.Object
-
- hudson.model.listeners.RunListener<AbstractBuild<?,?>>
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.replication.ReplicationFailedHandler
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class ReplicationFailedHandler extends RunListener<AbstractBuild<?,?>>
Look for ReplicationFailedAction in the build and fail the build if found.- Author:
- Hugo Arès <hugo.ares@ericsson.com>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
-
-
Constructor Summary
Constructors Constructor Description ReplicationFailedHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Environment
setUpEnvironment(AbstractBuild build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onCompleted, onDeleted, onFinalized, onInitialize, onStarted, register, unregister
-
-
-
-
Method Detail
-
setUpEnvironment
public Environment setUpEnvironment(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
- Overrides:
setUpEnvironment
in classRunListener<AbstractBuild<?,?>>
- Throws:
IOException
InterruptedException
-
-