public class NotifyEventsPublisher
extends hudson.tasks.Notifier
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
NotifyEventsPublisher.NotifyEventsPublisherDescriptor |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
NotifyEventsPublisher(String token,
String message,
boolean onSuccess,
boolean onUnstable,
boolean onFailure,
boolean onAborted) |
| Modifier and Type | Method and Description |
|---|---|
NotifyEventsPublisher.NotifyEventsPublisherDescriptor |
getDescriptor() |
String |
getMessage() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
hudson.util.Secret |
getToken() |
boolean |
isOnAborted() |
boolean |
isOnFailure() |
boolean |
isOnSuccess() |
boolean |
isOnUnstable() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuildpublic void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath filePath, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener taskListener) throws InterruptedException, IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic NotifyEventsPublisher.NotifyEventsPublisherDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic hudson.util.Secret getToken()
public String getMessage()
public boolean isOnSuccess()
public boolean isOnUnstable()
public boolean isOnFailure()
public boolean isOnAborted()
Copyright © 2016–2020. All rights reserved.