Class DifferentiatingAction

  • All Implemented Interfaces:
    Action, ModelObject, Queue.QueueAction

    public class DifferentiatingAction
    extends InvisibleAction
    implements Queue.QueueAction
    Force unique scheduling of the child job.

    Queue in Jenkins try to merge together two "identical" tasks into one. For example, if you try to trigger the same project twice while it is still in the queue, you'll only see one getting invoked.

    This is most likely harmful in the context of the parameterized trigger when used in the subroutine semantics, where you expect what you triggered to fire regardless of other things going on. This hidden "hack" parameter prevents the submitted task from getting merged with others.

    Author:
    Kohsuke Kawaguchi