Permalink
Browse files

make urls clickable

  • Loading branch information...
1 parent cc986a2 commit f98caad0547df535051e4125e5f8f3cdb34ba5fb @jsmestad jsmestad committed Jan 8, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/janky/notifier/chat.rb
@@ -5,13 +5,14 @@ def self.completed(build)
status = build.green? ? "was successful" : "failed"
color = build.green? ? "green" : "red"
- message = "Build #%s (%s) of %s/%s %s (%ss) %s" % [
+ message = "Build #%s (%s) of %s/%s %s (%ss) <a href='%s'>%s</a>" % [
build.number,
build.sha1,
build.repo_name,
build.branch_name,
status,
build.duration,
+ build.compare,
build.compare
]

0 comments on commit f98caad

Please sign in to comment.