public abstract class NthFailureTrigger extends EmailTrigger
| Modifier and Type | Class and Description |
|---|---|
static class |
NthFailureTrigger.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
protected int |
failureCount |
| Constructor and Description |
|---|
NthFailureTrigger(int failureCount,
boolean sendToList,
boolean sendToDevs,
boolean sendToRequestor,
String recipientList,
String replyTo,
String subject,
String body,
String attachmentsPattern,
int attachBuildLog) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
trigger(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
Implementors of this method need to return true if the conditions to
trigger an email have been met.
|
all, configure, createMailType, getDescriptor, getEmail, getNumFailures, isPreBuild, setEmailpublic boolean trigger(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
EmailTriggertrigger in class EmailTriggerbuild - The Build object after the project has been builtCopyright © 2004-2013. All Rights Reserved.