public class WebhookPublisher
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
WebhookPublisher(String webhookURL,
String thumbnailURL,
boolean sendOnStateChange,
String statusTitle,
String branchName,
boolean enableUrlLinking,
boolean enableArtifactList,
boolean enableFooterInfo) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBranchName() |
WebhookPublisher.DescriptorImpl |
getDescriptor() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getStatusTitle() |
String |
getThumbnailURL() |
String |
getWebhookURL() |
boolean |
isEnableArtifactList() |
boolean |
isEnableFooterInfo() |
boolean |
isEnableUrlLinking() |
boolean |
isSendOnStateChange() |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public String getWebhookURL()
public String getBranchName()
public String getStatusTitle()
public String getThumbnailURL()
public boolean isSendOnStateChange()
public boolean isEnableUrlLinking()
public boolean isEnableArtifactList()
public boolean isEnableFooterInfo()
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public WebhookPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.NotifierCopyright © 2016–2018. All rights reserved.