Class DifferentiatingAction
java.lang.Object
hudson.model.InvisibleAction
hudson.plugins.parameterizedtrigger.DifferentiatingAction
- All Implemented Interfaces:
Action
,ModelObject
,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
-
Constructor Summary
-
Method Summary
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Constructor Details
-
DifferentiatingAction
public DifferentiatingAction()
-
-
Method Details
-
shouldSchedule
- Specified by:
shouldSchedule
in interfaceQueue.QueueAction
-