public class NotifyEventsBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
NotifyEventsBuilder.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
NotifyEventsBuilder(String token,
String message) |
| Modifier and Type | Method and Description |
|---|---|
NotifyEventsBuilder.DescriptorImpl |
getDescriptor() |
String |
getMessage() |
String |
getToken() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener) |
void |
setMessage(String message) |
void |
setToken(hudson.util.Secret token) |
void |
setToken(String token) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildpublic NotifyEventsBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.Builderpublic String getToken()
public void setToken(String token)
public void setToken(hudson.util.Secret token)
public String getMessage()
public void setMessage(String message)
public 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.SimpleBuildStepInterruptedExceptionIOExceptionCopyright © 2016–2020. All rights reserved.