slack.send({
"username": "myBotName",
"icon_emoji": ":robot_face:",
"mrkdwn": true,
"attachments": [
{
"mrkdwn_in": ['text','pretext'],
"color": "#199515",
"text": message,
"fallback": "*my*: _markdown_ message."
}
]
});slackSend (
color: '#F01717',
message: "$JOB_NAME: <$BUILD_URL|Build #$BUILD_NUMBER>, my message."
)--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/deaa0550-128a-4513-8972-0cf991d49bbd%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
def payload = JsonOutput.toJson([
"username": "Production Deployer",
"icon_emoji": ":robot_face:",
"mrkdwn": true,
"attachments": [
{
"mrkdwn_in": ['text','pretext'],
"color": "#199515",
"text": "*$JOB_NAME:* <$BUILD_URL|Build #$BUILD_NUMBER>, _microservice_ in _${clusterName}_ successfully updated.",
"fallback": "*Production Deployer*: operation succeeded."
}
]
])To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b4ac2560-b636-49da-a7e6-4d90e677a383%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.