@Extension
public class BuildQueueListener
extends hudson.model.queue.QueueListener
QueueListener
which keeps track
of time a pipeline build spent blocked.Constructor and Description |
---|
BuildQueueListener() |
Modifier and Type | Method and Description |
---|---|
void |
onEnterBlocked(hudson.model.Queue.BlockedItem item)
Adds @{link BuildBlockedAction} action to blocked pipeline builds to keep
track of the time spent blocked.
|
void |
onLeaveBlocked(hudson.model.Queue.BlockedItem item) |
public void onEnterBlocked(hudson.model.Queue.BlockedItem item)
onEnterBlocked
in class hudson.model.queue.QueueListener
public void onLeaveBlocked(hudson.model.Queue.BlockedItem item)
onLeaveBlocked
in class hudson.model.queue.QueueListener
Copyright © 2016–2018. All rights reserved.