Package org.jenkinsci.plugins.deployment
Class DeploymentTrigger
- java.lang.Object
- 
- hudson.triggers.Trigger<Job>
- 
- org.jenkinsci.plugins.deployment.DeploymentTrigger
 
 
- 
- All Implemented Interfaces:
- ExtensionPoint,- Describable<Trigger<?>>
 
 public class DeploymentTrigger extends Trigger<Job> Triggerthat fires when artifacts are deployed.- Author:
- Kohsuke Kawaguchi
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDeploymentTrigger.DescriptorImplstatic classDeploymentTrigger.ListenerImplWhenever a new deployment record arrives, check if we need to trigger any jobs.static classDeploymentTrigger.TriggeredMarks the jobs that have already been triggered as a result ofDeploymentTriggerto avoid multi-firing when additional hosts check in.- 
Nested classes/interfaces inherited from class hudson.triggers.TriggerTrigger.Cron
 - 
Nested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
 
- 
 - 
Constructor SummaryConstructors Constructor Description DeploymentTrigger(String upstreamJob, Condition cond)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcheckAndFire(DeploymentFacet facet)Deprecated.voidcheckAndFire(DeploymentFacet facet, HostRecord hostRecord)ConditiongetCond()StringgetUpstreamJob()static voidsync()- 
Methods inherited from class hudson.triggers.Triggerall, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, readResolve, run, start, stop
 
- 
 
- 
- 
- 
Method Detail- 
getUpstreamJobpublic String getUpstreamJob() 
 - 
getCondpublic Condition getCond() 
 - 
checkAndFire@Deprecated public void checkAndFire(DeploymentFacet facet) Deprecated.
 - 
checkAndFirepublic void checkAndFire(DeploymentFacet facet, @CheckForNull HostRecord hostRecord) 
 - 
syncpublic static void sync() throws InterruptedException- Throws:
- InterruptedException
 
 
- 
 
-