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 notes,
String branchName,
boolean enableUrlLinking,
boolean enableArtifactList,
boolean enableFooterInfo,
boolean showChangeset,
boolean sendLogFile,
boolean sendStartNotification) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBranchName() |
WebhookPublisher.DescriptorImpl |
getDescriptor() |
String |
getNotes() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getStatusTitle() |
String |
getThumbnailURL() |
String |
getWebhookURL() |
boolean |
isEnableArtifactList() |
boolean |
isEnableFooterInfo() |
boolean |
isEnableUrlLinking() |
boolean |
isSendLogFile() |
boolean |
isSendOnStateChange() |
boolean |
isSendStartNotification() |
boolean |
isShowChangeset() |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
@DataBoundConstructor public WebhookPublisher(String webhookURL, String thumbnailURL, boolean sendOnStateChange, String statusTitle, String notes, String branchName, boolean enableUrlLinking, boolean enableArtifactList, boolean enableFooterInfo, boolean showChangeset, boolean sendLogFile, boolean sendStartNotification)
public String getWebhookURL()
public String getBranchName()
public String getStatusTitle()
public String getNotes()
public String getThumbnailURL()
public boolean isSendOnStateChange()
public boolean isEnableUrlLinking()
public boolean isEnableArtifactList()
public boolean isEnableFooterInfo()
public boolean isShowChangeset()
public boolean isSendLogFile()
public boolean isSendStartNotification()
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild in interface hudson.tasks.BuildStepprebuild in class hudson.tasks.BuildStepCompatibilityLayerpublic 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–2019. All rights reserved.