@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
BuildBlockedAction action to blocked pipeline builds to keep
track of the time spent blocked. |
void |
onLeaveBlocked(Queue.BlockedItem item) |
all, onEnterBuildable, onEnterWaiting, onLeaveBuildable, onLeaveWaiting, onLeft
public void onEnterBlocked(Queue.BlockedItem item)
BuildBlockedAction
action to blocked pipeline builds to keep
track of the time spent blocked.onEnterBlocked
in class QueueListener
public void onLeaveBlocked(Queue.BlockedItem item)
onLeaveBlocked
in class QueueListener
Copyright © 2016–2019. All rights reserved.