Class TeamsChannel

All Implemented Interfaces:
Describable<NotificationChannel>

public class TeamsChannel extends NotificationChannel
Notify-only Microsoft Teams incoming webhook. The webhook URL is a Secret-text credential, never stored on the job. No inbound actions — the card only opens Jenkins.
  • Constructor Details

    • TeamsChannel

      @DataBoundConstructor public TeamsChannel()
  • Method Details

    • getWebhookCredentialsId

      @CheckForNull public String getWebhookCredentialsId()
    • setWebhookCredentialsId

      @DataBoundSetter public void setWebhookCredentialsId(@CheckForNull String webhookCredentialsId)
    • send

      public void send(@NonNull NotificationEvent event)
      Description copied from class: NotificationChannel
      Deliver event. Implementations log and return on failure; they must not throw.
      Specified by:
      send in class NotificationChannel
      Parameters:
      event - a snapshot with job metadata and an absolute Jenkins URL; never the review file or question context markdown