@Extension public class BuildQueueListener extends QueueListener
QueueListener which keeps track
of time a pipeline build spent blocked.ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
BuildQueueListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onEnterBlocked(Queue.BlockedItem item)
Adds @{link BuildBlockedAction} action to blocked pipeline builds to keep
track of the time spent blocked.
|
void |
onLeaveBlocked(Queue.BlockedItem item) |
all, onEnterBuildable, onEnterWaiting, onLeaveBuildable, onLeaveWaiting, onLeftpublic void onEnterBlocked(Queue.BlockedItem item)
onEnterBlocked in class QueueListenerpublic void onLeaveBlocked(Queue.BlockedItem item)
onLeaveBlocked in class QueueListenerCopyright © 2016–2019. All rights reserved.