BearyChat Plugin

bearychatSend: Send Bearychat Message

Simple step for sending a Bearychat message to specified channel.
Use the advanced settings to override the Bearychat Plugin global configuration to include: token and channel.
Please see the Bearychat Plugin global configuration for more details on the fields. Usage Example:
bearychatSend "Build Started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
message
This is the main text in a message attachment, and can contain standard message markup. The content will automatically collapse if it contains 700+ characters or 5+ linebreaks, and will display a "Show more..." link to expand the content. Message may include global variables, for example environment and currentBuild variables:
bearychatSend "started ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"

Type: String

botUser (optional)

Type: boolean

channel (optional)
Allows overriding the Bearychat Plugin channel specified in the global configuration.
bearychatSend channel: "#channel-name", message: "Build Started: ${env.JOB_NAME} ${env.BUILD_NUMBER}"

Type: String

color (optional)
An optional value that can either be one of good, warning, danger, or any hex color code (eg. #439FE0). This value is used to color the border along the left side of the message attachment.
bearychatSend color: "#439FE0", message: "Build Started: ${env.JOB_NAME} ${env.BUILD_NUMBER}"

Type: String

failOnError (optional)
If set to true, then the step will abort the Workflow run if there is an error sending message.
hipchatSend failOnError: true, message: "Build Started: ${env.JOB_NAME} ${env.BUILD_NUMBER}"

Type: boolean

teamDomain (optional)
Allows overriding the Bearychat Plugin Integration Team Domain specified in the global configuration.

Type: String

token (optional)

Type: String

tokenCredentialId (optional)

Type: String