public class FlockNotifier extends Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
FlockNotifier.DescriptorImpl |
Publisher.DescriptorExtensionListImplExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListBUILDERS, PUBLISHERS| Constructor and Description |
|---|
FlockNotifier(String webhookUrl,
boolean notifyOnStart,
boolean notifyOnSuccess,
boolean notifyOnUnstable,
boolean notifyOnAborted,
boolean notifyOnFailure,
boolean notifyOnNotBuilt,
boolean notifyOnRegression,
boolean notifyOnBackToNormal) |
| Modifier and Type | Method and Description |
|---|---|
FlockNotifier.DescriptorImpl |
getDescriptor() |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getWebhookUrl() |
boolean |
isNotifyOnAborted() |
boolean |
isNotifyOnBackToNormal() |
boolean |
isNotifyOnFailure() |
boolean |
isNotifyOnNotBuilt() |
boolean |
isNotifyOnRegression() |
boolean |
isNotifyOnStart() |
boolean |
isNotifyOnSuccess() |
boolean |
isNotifyOnUnstable() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
boolean |
prebuild(AbstractBuild<?,?> build,
BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform@DataBoundConstructor public FlockNotifier(String webhookUrl, boolean notifyOnStart, boolean notifyOnSuccess, boolean notifyOnUnstable, boolean notifyOnAborted, boolean notifyOnFailure, boolean notifyOnNotBuilt, boolean notifyOnRegression, boolean notifyOnBackToNormal)
public String getWebhookUrl()
public boolean isNotifyOnStart()
public boolean isNotifyOnSuccess()
public boolean isNotifyOnUnstable()
public boolean isNotifyOnAborted()
public boolean isNotifyOnFailure()
public boolean isNotifyOnNotBuilt()
public boolean isNotifyOnRegression()
public boolean isNotifyOnBackToNormal()
public boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
prebuild in interface BuildStepprebuild in class BuildStepCompatibilityLayerpublic boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic FlockNotifier.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Publisher>getDescriptor in class Recorderpublic BuildStepMonitor getRequiredMonitorService()
Copyright © 2016–2019. All rights reserved.