msteams-notifier

Send Message to Microsoft Teams

Arguments

  • CF_STATUS_MESSAGE - Custom Status Message, Default [EXECUTED]
  • MSTEAMS_ACTIVITY_IMAGE - Custom Activity Image, Default [Superfresh GIF]
  • MSTEAMS_ACTIVITY_SUBTITLE - Custom Activity Subtitle, Default [Build Status: CF_STATUS_MESSAGE]
  • MSTEAMS_ACTIVITY_TEXT - Custom Activity Text, Default [Additional Information Below]
  • MSTEAMS_LINK_TEXT - Custom Link Text, Default [Codefresh Build Logs]
  • MSTEAMS_LINK_TEXT_2 - Custom Link 2 Text, Default [Commit Information]
  • MSTEAMS_LINK_URL - Custom Link URL, Default [CF_BUILD_URL]
  • MSTEAMS_LINK_URL_2 - Custom Link 2 URL, Default [CF_COMMIT_URL]
  • MSTEAMS_NEW_WEBHOOK_URL - Additional Microsoft Teams Webhook (connector) URL
  • MSTEAMS_TEXT - Custom Text, Default [CF_ACCOUNT]
  • MSTEAMS_TITLE - Custom Title, Default [Codefresh Build Notification]
  • MSTEAMS_WEBHOOK_URL * - Microsoft Teams Webhook (connector) URL
    version: '1.0'
steps:
  MSTeamsNotification:
    type: msteams-notifier
    arguments:
      CF_STATUS_MESSAGE: '${{CF_STATUS_MESSAGE}}'
      MSTEAMS_ACTIVITY_IMAGE: '${{MSTEAMS_ACTIVITY_IMAGE}}'
      MSTEAMS_ACTIVITY_SUBTITLE: '${{MSTEAMS_ACTIVITY_SUBTITLE}}'
      MSTEAMS_ACTIVITY_TEXT: '${{MSTEAMS_ACTIVITY_TEXT}}'
      MSTEAMS_LINK_TEXT: '${{MSTEAMS_LINK_TEXT}}'
      MSTEAMS_LINK_TEXT_2: '${{MSTEAMS_LINK_TEXT_2}}'
      MSTEAMS_LINK_URL: '${{MSTEAMS_LINK_URL}}'
      MSTEAMS_LINK_URL_2: '${{MSTEAMS_LINK_URL_2}}'
      MSTEAMS_NEW_WEBHOOK_URL: '${{MSTEAMS_NEW_WEBHOOK_URL}}'
      MSTEAMS_TEXT: '${{MSTEAMS_TEXT}}'
      MSTEAMS_TITLE: '${{MSTEAMS_TITLE}}'
      MSTEAMS_WEBHOOK_URL: '${{MSTEAMS_WEBHOOK_URL}}'

  
github.com
Dustin Van Buskirk
Sep 18, 2019