Skip to content

Commit

Permalink
Merge pull request #36 from eisuke/simplify_slack_msessage
Browse files Browse the repository at this point in the history
To simplify slack messages
  • Loading branch information
eisuke authored Jan 24, 2017
2 parents 6c1c916 + 3e14ad1 commit 8e174c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/autoload/kuroko2/workflow/notifier/slack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ def send_attachment_message_to_slack(level: , text: , body: nil)
link_names: 1,
attachments: [
{
pretext: "[#{level}] #{text}",
title: "##{@definition.id} #{@definition.name}",
title: "[#{level}] #{text}",
title_link: message_builder.job_instance_path,
text: body,
fallback: "[#{level}] #{text} #{message_builder.job_instance_path}",
Expand Down

0 comments on commit 8e174c8

Please sign in to comment.