com.dabsquared.gitlabjenkins
Class GitLabRunListener
java.lang.Object
hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
com.dabsquared.gitlabjenkins.GitLabRunListener
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension
public class GitLabRunListener
- extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
RunListener that will be called when a build starts and completes.
Will lookup GitLabPushTrigger and call onStarted and onCompleted methods
in order to have access to the build and set properties.
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.listeners.RunListener |
LISTENERS, targetType |
Method Summary |
void |
onCompleted(hudson.model.AbstractBuild abstractBuild,
hudson.model.TaskListener listener)
|
void |
onStarted(hudson.model.AbstractBuild abstractBuild,
hudson.model.TaskListener listener)
|
Methods inherited from class hudson.model.listeners.RunListener |
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onDeleted, onFinalized, register, setUpEnvironment, unregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitLabRunListener
public GitLabRunListener()
onCompleted
public void onCompleted(hudson.model.AbstractBuild abstractBuild,
@Nonnull
hudson.model.TaskListener listener)
- Overrides:
onCompleted
in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
onStarted
public void onStarted(hudson.model.AbstractBuild abstractBuild,
hudson.model.TaskListener listener)
- Overrides:
onStarted
in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
Copyright © 2004-2015. All Rights Reserved.