Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Gitter notify gitter-notifier
Send a notification to a gitter disucssion channel.
arguments
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