@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 |
|---|---|
protected long |
getBlockedTime(hudson.model.Run<?,?> build)
Determines the amount of time a build spent in the blocked state.
|
void |
onCompleted(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener)
Sends final build status notification
|
public void onCompleted(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener)
onCompleted in class hudson.model.listeners.RunListener<hudson.model.Run<?,?>>build - the buildlistener - listenerprotected long getBlockedTime(hudson.model.Run<?,?> build)
build - The build to check.Copyright © 2016–2018. All rights reserved.