public class WebhookPublisher extends Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookPublisher.DescriptorImpl |
Publisher.DescriptorExtensionListImplExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListBUILDERS, PUBLISHERS| Constructor and Description |
|---|
WebhookPublisher(String webhookURL,
String thumbnailURL,
boolean sendOnStateChange,
String statusTitle,
String notes,
String branchName,
String customAvatarUrl,
String customUsername,
boolean sendOnStateFailed,
boolean sendOnlyFailed,
boolean enableUrlLinking,
boolean enableArtifactList,
boolean enableFooterInfo,
boolean showChangeset,
boolean sendLogFile,
boolean sendStartNotification,
String scmWebUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBranchName() |
String |
getCustomAvatarUrl() |
String |
getCustomUsername() |
WebhookPublisher.DescriptorImpl |
getDescriptor() |
String |
getNotes() |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getScmWebUrl() |
String |
getStatusTitle() |
String |
getThumbnailURL() |
String |
getWebhookURL() |
boolean |
isEnableArtifactList() |
boolean |
isEnableFooterInfo() |
boolean |
isEnableUrlLinking() |
boolean |
isSendLogFile() |
boolean |
isSendOnlyFailed() |
boolean |
isSendOnStateChange() |
boolean |
isSendStartNotification() |
boolean |
isShowChangeset() |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
boolean |
prebuild(AbstractBuild<?,?> build,
BuildListener listener) |
all, getProjectAction, prebuildgetProjectAction, getProjectActions, perform@DataBoundConstructor public WebhookPublisher(String webhookURL, String thumbnailURL, boolean sendOnStateChange, String statusTitle, String notes, String branchName, String customAvatarUrl, String customUsername, boolean sendOnStateFailed, boolean sendOnlyFailed, boolean enableUrlLinking, boolean enableArtifactList, boolean enableFooterInfo, boolean showChangeset, boolean sendLogFile, boolean sendStartNotification, String scmWebUrl)
public String getWebhookURL()
public String getBranchName()
public String getStatusTitle()
public String getCustomAvatarUrl()
public String getCustomUsername()
public String getNotes()
public String getThumbnailURL()
public boolean isSendOnStateChange()
public boolean isSendOnlyFailed()
public boolean isEnableUrlLinking()
public boolean isEnableArtifactList()
public boolean isEnableFooterInfo()
public boolean isShowChangeset()
public boolean isSendLogFile()
public boolean isSendStartNotification()
public String getScmWebUrl()
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class Publisherpublic boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
prebuild in interface BuildStepprebuild in class BuildStepCompatibilityLayerpublic boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic BuildStepMonitor getRequiredMonitorService()
public WebhookPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Publisher>getDescriptor in class NotifierCopyright © 2016–2022. All rights reserved.