public class PagerDutyTrigger
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
PagerDutyTrigger.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DESCRIPTION_STRING |
String |
description |
String |
incidentKey |
Integer |
numPreviousBuildsToProbe |
String |
serviceKey |
boolean |
triggerOnAborted |
boolean |
triggerOnFailure |
boolean |
triggerOnNotBuilt |
boolean |
triggerOnSuccess |
boolean |
triggerOnUnstable |
| Constructor and Description |
|---|
PagerDutyTrigger(String serviceKey,
boolean triggerOnSuccess,
boolean triggerOnFailure,
boolean triggerOnAborted,
boolean triggerOnUnstable,
boolean triggerOnNotBuilt,
String incidentKey,
String description,
Integer numPreviousBuildsToProbe) |
| Modifier and Type | Method and Description |
|---|---|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic String serviceKey
public boolean triggerOnSuccess
public boolean triggerOnFailure
public boolean triggerOnUnstable
public boolean triggerOnAborted
public boolean triggerOnNotBuilt
public String incidentKey
public String description
public Integer numPreviousBuildsToProbe
public static final String DEFAULT_DESCRIPTION_STRING
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2004-2016. All Rights Reserved.