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 |
|---|---|
String |
apiKey |
String |
description |
String |
incidentKey |
Integer |
numPreviousBuildsToProbe |
boolean |
triggerOnSuccess |
| Constructor and Description |
|---|
PagerDutyTrigger(String apiKey,
boolean triggerOnSuccess,
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 final String apiKey
public final boolean triggerOnSuccess
public final String incidentKey
public final String description
public final Integer numPreviousBuildsToProbe
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-2015. All Rights Reserved.