@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
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)
BuildBlockedAction
action to blocked pipeline builds to keep
track of the time spent blocked.onEnterBlocked
in class hudson.model.queue.QueueListener
public void onLeaveBlocked(hudson.model.Queue.BlockedItem item)
onLeaveBlocked
in class hudson.model.queue.QueueListener
Copyright © 2016–2020. All rights reserved.