public class DeploymentTrigger
extends hudson.triggers.Trigger<hudson.model.Job>
Trigger that fires when artifacts are deployed.| Modifier and Type | Class and Description |
|---|---|
static class |
DeploymentTrigger.DescriptorImpl |
static class |
DeploymentTrigger.ListenerImpl
Whenever a new deployment record arrives, check if we need to trigger any jobs.
|
static class |
DeploymentTrigger.Triggered
Marks the jobs that have already been triggered as a result of
DeploymentTrigger
to avoid multi-firing when additional hosts check in. |
| Constructor and Description |
|---|
DeploymentTrigger(String upstreamJob,
Condition cond) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAndFire(DeploymentFacet facet)
Deprecated.
|
void |
checkAndFire(DeploymentFacet facet,
HostRecord hostRecord) |
Condition |
getCond() |
String |
getUpstreamJob() |
static void |
sync() |
public String getUpstreamJob()
public Condition getCond()
@Deprecated public void checkAndFire(DeploymentFacet facet)
public void checkAndFire(DeploymentFacet facet, @CheckForNull HostRecord hostRecord)
public static void sync()
throws InterruptedException
InterruptedExceptionCopyright © 2004-2016. All Rights Reserved.