Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
22

Gitter notify gitter-notifier

Send a notification to a gitter disucssion channel.

arguments

  • gitter_message - Overrides the text of message to be sent
  • gitter_status - Defines the notification status (`error` or `info`)
  • gitter_webhook - Webhook uri from your [gitter](https://gitter.im) room integration settings. Use `custom` integration type.
    sendMessage:
  type: gitter-notifier
  title: |-
    In this example only the gitter_webhook argument is set.
    All other parameters are taken from the git trigger
  arguments:
    gitter_webhook: 'https://webhooks.gitter.im/e/123abc'

  
    sendMessage:
  type: gitter-notifier
  title: Manually set the message and status arguments...
  arguments:
    gitter_webhook: 'https://webhooks.gitter.im/e/123abc'
    gitter_message: >-
      Hello, how are you? There was a build triggered by ${{CF_BUILD_INITIATOR}}

      You could see the build [here](${{CF_BUILD_URL}}) and the commit
      [here](${{CF_COMMIT_URL}})
    gitter_status: info

  
github.com
Andrii Shaforostov
Jul 4, 2021