http://javadoc.jenkins-ci.org/hudson/model/Queue.QueueDecisionHandler.html
-Jesse
--
There are 10 types of people in this world, those
that can read binary and those that can not.
On Thu, Nov 3, 2011 at 3:40 PM, Paul Weiss <pa...@weiss.name> wrote:
> Hmm, so I could write a plugin that would prevent new jobs from being added,
> but I don't think I could implement queueing it and dropping the oldest one.
> That is, I could indeed do so, by scanning the queueing, dequeueing the
> oldest one and then having my shouldSchedule method return true, but if
> another registered decision handler then returned false, I would have
> deleted a job for nought.
I didn't say it would be easy, I just showed you the path. And, I
don't think there are m/any Queue.QueueDecisionHandlers out there.