EC-Slack Plugin
Plugin version 1.1.0.0
Revised on Mar 12, 2021
This plugin integrates with Slack.
Plugin configurations are sets of parameters that apply across some or all of the plugin procedures. They reduce repetition of common values, create predefined parameter sets for end users, and securely store credentials where needed. Each configuration is given a unique name that is entered in designated parameters on procedures that use them.
To create plugin configurations in CloudBees Flow, do these steps:
- Go to Administration > Plugins to open the Plugin Manager.
- Find the EC-Slack-1.0.4.0 row.
- Click Configure to open the Configurations page.
- Click Create Configuration as per the description of parameters below. Configuration Parameters
Parameter | Description |
---|---|
Configuration Name | Unique name for the configuration |
Description | Configuration description |
My REST Endpoint | REST API Endpoint |
Bearer token | Token to connect to... |
HTTP Proxy | A proxy server URL that should be used for connections. |
Proxy Authorization | Username and password for proxy. |
Check Connection? | If checked, a connection endpoint and credentials will be tested before save. The configuration will not be saved if the test fails. |
Debug Level | This option sets debug level for logs. If info is selected, only summary information will be shown, for debug, there will be some debug information and for trace the whole requests and responses will be shown. |
IMPORTANT Note that the names of Required parameters are marked in bold italics in the parameter description table for each procedure.
Sends a message from EF to either a Slack Channel or a user.
Parameter | Description |
---|---|
Configuration Name | Previously defined configuration for the plugin |
Channel | Slack Channel |
Text | Message Text |
Blocks | A JSON-based array of structured blocks, presented as a URL-encoded string. |
Initiates a public or private channel-based conversation
Parameter | Description |
---|---|
Configuration Name | Previously defined configuration for the plugin |
Channel Name | Slack Channel Name |
Is Private | Create a private channel instead of a public one |
User IDs | list of between 1 and 30 human users that will be added to the newly-created conversation. e.g. "W1234567890,U2345678901,U3456789012" |
Parameter | Description |
---|---|
channel_id | the new id of the channel that created. |
channel_url | the URL of the channle that created. |
Archives a conversation.
Parameter | Description |
---|---|
Configuration Name | Previously defined configuration for the plugin |
Channel | ID of conversation to archive. |
Uploads or creates a file.
Parameter | Description |
---|---|
Configuration Name | Previously defined configuration for the plugin |
Channels | Comma-separated list of channel names or IDs where the file will be shared. |
Content | File contents. |
Title | Title of the file being shared. |
- Add output parameter to Create Channel with URL to the new channel
- Add help page.
- Introduced EC-Slack plugin.