public class StashQueueAction
extends hudson.model.InvisibleAction
implements hudson.model.Queue.QueueAction
Jenkins tries to fold multiple queue items into one to avoid building the same thing multiple times. That behavior is undesired for the builds triggered by this plugin. The builds differ by StashCause, but Jenkins allows a build to have many causes.
Jenkins uses QueueAction interface to decide whether to fold tasks. Tasks that use this action will not be folded by Jenkins.
| Constructor and Description |
|---|
StashQueueAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldSchedule(List<hudson.model.Action> actions)
Returns whether the new item should be scheduled.
|
getDisplayName, getIconFileName, getUrlNamepublic boolean shouldSchedule(List<hudson.model.Action> actions)
shouldSchedule in interface hudson.model.Queue.QueueActionCopyright © 2016–2020. All rights reserved.