public class TimerTrigger extends Trigger<BuildableItem>
Trigger that runs a job periodically.| Modifier and Type | Class and Description |
|---|---|
static class |
TimerTrigger.DescriptorImpl |
static class |
TimerTrigger.TimerTriggerCause |
Trigger.CronExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
TimerTrigger(String spec) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Executes the triggered task.
|
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, readResolve, start, stoppublic void run()
TriggerTrigger.Trigger(String) is used
to create an instance, and the crontab matches the current time.
Maybe run even before Trigger.start(hudson.model.Item, boolean), prepare for it.
run in class Trigger<BuildableItem>Copyright © 2019. All rights reserved.