What I'm trying to do is redirect the label someone (well few 100 actually) has encoded in their pipeline when conditions are met.
I don’t think LabelValidator is what you need.
You might want to check on QueueTaskDispatcher and override canTake(Node, Queue.BuildableItem)
--
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
jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/830e1c0b-3cd7-4347-90dc-739ca9415278n%40googlegroups.com.