On Wed, Dec 19, 2018 at 12:44 PM <[email protected]> wrote:
> I am writing a plugin for cancelling tasks which are in the queue on a few 
> conditions.

https://javadoc.jenkins.io/hudson/model/Queue.QueueDecisionHandler.html#shouldSchedule-hudson.model.Queue.Task-java.util.List-

sounds like the more appropriate extension point, but

> The final goal is cancelling the task if there was not scm changes since last 
> build

this is odd since that is the usual behavior of Jenkins under common
configurations (`SCMTrigger`). Why would a task have been added to the
queue to begin with if there were no SCM changes?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0C7DRQEU49C%3DmrV8e2rQ57V9mrM9yB2mHb8wNHrQ4CbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to