Class SlackChannel
java.lang.Object
hudson.model.AbstractDescribableImpl<NotificationChannel>
io.jenkins.plugins.interactiveinput.notify.NotificationChannel
io.jenkins.plugins.interactiveinput.notify.SlackChannel
- All Implemented Interfaces:
Describable<NotificationChannel>
Notify-only Slack incoming webhook. The webhook URL is a Secret-text credential. No Slack App, no
interactive buttons, no inbound answering.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsend(NotificationEvent event) Deliverevent.voidsetWebhookCredentialsId(String webhookCredentialsId) Methods inherited from class io.jenkins.plugins.interactiveinput.notify.NotificationChannel
allMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
SlackChannel
@DataBoundConstructor public SlackChannel()
-
-
Method Details
-
getWebhookCredentialsId
-
setWebhookCredentialsId
-
send
Description copied from class:NotificationChannelDeliverevent. Implementations log and return on failure; they must not throw.- Specified by:
sendin classNotificationChannel- Parameters:
event- a snapshot with job metadata and an absolute Jenkins URL; never the review file or question context markdown
-