From 45324bc65a97848e4fe380050dd4b61eec136b14 Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Sun, 6 Apr 2014 22:04:13 +0200 Subject: [PATCH] Slack uses markdown, not html --- pkg/plugin/notify/slack.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/plugin/notify/slack.go b/pkg/plugin/notify/slack.go index 060017bae..14c8f01d7 100644 --- a/pkg/plugin/notify/slack.go +++ b/pkg/plugin/notify/slack.go @@ -8,10 +8,10 @@ import ( ) const ( - slackEndpoint = "https://%s.slack.com/services/hooks/incoming-webhook?token=%s" + slackEndpoint = "https://%s.slack.com/services/hooks/incoming-webhook?token=%s" slackStartedMessage = "Building %s, commit %s, author %s" - slackSuccessMessage = "Success %s, commit %s, author %s" - slackFailureMessage = "Failed %s, commit %s, author %s" + slackSuccessMessage = "*Success* %s, commit %s, author %s" + slackFailureMessage = "*Failed* %s, commit %s, author %s" ) type Slack struct { @@ -73,4 +73,3 @@ func (s *Slack) send(msg string) error { return nil } -