@Extension
public class BuildStatusJobListener
extends hudson.model.listeners.RunListener<hudson.model.Run<?,?>>
RunListener
extension point to
provide job status information to subscribers as jobs complete.Constructor and Description |
---|
BuildStatusJobListener() |
Modifier and Type | Method and Description |
---|---|
void |
onCompleted(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener)
Sends final build status notification.
|
void |
onStarted(hudson.model.Run<?,?> run,
hudson.model.TaskListener listener) |
public void onCompleted(hudson.model.Run<?,?> build, @Nonnull hudson.model.TaskListener listener)
onCompleted
in class hudson.model.listeners.RunListener<hudson.model.Run<?,?>>
build
- the buildlistener
- listenerpublic void onStarted(hudson.model.Run<?,?> run, hudson.model.TaskListener listener)
onStarted
in class hudson.model.listeners.RunListener<hudson.model.Run<?,?>>
Copyright © 2016–2020. All rights reserved.