forked from bitrise-steplib/steps-slack-message
-
Notifications
You must be signed in to change notification settings - Fork 0
/
step.yml.old
107 lines (102 loc) · 3.31 KB
/
step.yml.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
name: Send Slack message
description: |
Send a [Slack](https://slack.com/) message to a channel or group.
You have to register an **Incoming WebHook integration** at:
https://**YOURTEAMNAME**.slack.com/services
On the WebHook integration's page copy the **Webhook URL**.
*Don't forget to enable this Step to **Always run** if
you want to get notified about failed builds as well!*
website: https://github.com/bitrise-io/steps-slack-message
fork_url: https://github.com/bitrise-io/steps-slack-message
source:
git: https://github.com/bitrise-io/steps-slack-message.git
host_os_tags:
- osx-10.9
- osx-10.10
type_tags:
- IM
- notification
is_requires_admin_user: false
is_always_run: true
inputs:
-
mapped_to: webhook_url
title: "Slack Webhook URL"
is_expand: false
is_required: true
-
mapped_to: channel
title: "Target Slack channel, group or username"
description: |
* channel example: #general
* username example: @everyone
is_expand: false
is_required: false
-
mapped_to: from_username
title: "The 'from' name"
description: |
The one which should be presented as the sender of the message
is_expand: false
is_required: false
-
mapped_to: from_username_on_error
title: "The 'from' name - if the build failed"
description: |
**This option will be used if the build failed.** If you
leave this option empty then the default one will be use
is_expand: false
is_required: false
-
mapped_to: message
title: "The message you want to send"
is_expand: true
is_required: true
-
mapped_to: message_on_error
title: "The message you want to send - if the build failed"
description: |
**This option will be used if the build failed.** If you
leave this option empty then the default one will be used.
is_expand: true
is_required: false
-
mapped_to: emoji
title: "Emoji Icon"
description: |
Optionally you can specify a Slack emoji as the sender
icon. You can use the Ghost icon for example
if you specify `:ghost:` here as an input.
is_expand: false
is_required: false
-
mapped_to: emoji_on_error
title: "Emoji Icon - if build failed"
description: |
**This option will be used if the build failed.** If you
leave this option empty then the default one will be used.
is_expand: false
is_required: false
-
mapped_to: icon_url
title: "Icon URL"
description: |
Optionally you can specify a custom icon image URL
which will be presented as the sender icon.
Slack recommends an image a square image,
which can't be larger than 128px in width nor in height,
and it must be smaller than 64K in size.
Slack custom emoji guideline: [https://slack.zendesk.com/hc/en-us/articles/202931348-Using-emoji-and-emoticons](https://slack.zendesk.com/hc/en-us/articles/202931348-Using-emoji-and-emoticons)
**If you specify an Emoji as icon then this
icon URL will be ignored!**
is_expand: false
is_required: false
-
mapped_to: icon_url_on_error
title: "Icon URL - if build failed"
description: |
**This option will be used if the build failed.** If you
leave this option empty then the default one will be used.
is_expand: false
is_required: false