public class DeploymentTrigger
extends hudson.triggers.Trigger<hudson.model.AbstractProject>
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) |
Condition |
getCond() |
String |
getUpstreamJob() |
void |
start(hudson.model.AbstractProject project,
boolean newInstance) |
static void |
sync() |
public String getUpstreamJob()
public Condition getCond()
public void start(hudson.model.AbstractProject project,
boolean newInstance)
start in class hudson.triggers.Trigger<hudson.model.AbstractProject>public void checkAndFire(DeploymentFacet facet)
public static void sync()
throws InterruptedException
InterruptedExceptionCopyright © 2004-2014. All Rights Reserved.