28 lines
915 B
YAML
28 lines
915 B
YAML
name: 'notify zulip'
|
|
description: 'sends a message with the ci result to a designated zulip stream'
|
|
inputs:
|
|
url:
|
|
description: 'location of the zulip instance, w/o terminating slash'
|
|
required: true
|
|
bot:
|
|
email:
|
|
description: 'email of the incoming webhook bot'
|
|
required: true
|
|
key:
|
|
description: 'api key of the incoming webhook bot'
|
|
required: true
|
|
stream:
|
|
description: 'name of the stream to send result message to'
|
|
default: 'CI results'
|
|
topic:
|
|
description: 'name of the topic'
|
|
required: true
|
|
content:
|
|
required: true
|
|
type:
|
|
description: 'content of the message. Can be file or string'
|
|
required: true
|
|
path:
|
|
description: 'path of the file to read. required if type == file'
|
|
text:
|
|
description: 'text to be sent to zulip. required if type == string. If type == file, text content will be displayed BEFORE file content' |