samson_hipchat 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/hipchat_notification.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08682233095d4b9335d6133ae774ecab623de5de
|
4
|
+
data.tar.gz: 46a38b72fd4c1ee7ba45b38d72c457faafc51e15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32a4b40c54790b44a9d7f0b95288a1f639ab488802bf4ac0db7c9c0e195ef12223992df8c736a5aea541a8bc462395ef1672f7666daa7bb834acf1867205ed07
|
7
|
+
data.tar.gz: f49f678e836478224ffdf08e79c35dfed5faf59307672fc28365cb1c5efcbc4586d0e2d8bdcc1b87be19e27793d86197013b2ccbf86e2e6e7625799d691148bf
|
@@ -58,9 +58,9 @@ class HipchatNotification
|
|
58
58
|
if @is_multi_message
|
59
59
|
subject = "#{@user.name} is <a href='#{deploy_url}'>deploying</a> <strong>#{@project.name}</strong> on <strong>#{@stage.name}</strong><br>"
|
60
60
|
|
61
|
-
subject = "#{@user.name} successfully
|
61
|
+
subject = "#{@user.name} successfully deployed <strong>#{@project.name}</strong> @<a href='#{diff_url}'>#{@deploy.commit}</a> on <strong>#{@stage.name}</strong><br>" if @deploy.job.succeeded?
|
62
62
|
|
63
|
-
subject = "#{@user.name} failed to <a href='#{deploy_url}'>
|
63
|
+
subject = "#{@user.name} failed to <a href='#{deploy_url}'>deployed</a> <strong>#{@project.name}</strong> on <strong>#{@stage.name}</strong><br>" if @deploy.job.failed? || @deploy.job.errored?
|
64
64
|
|
65
65
|
subject = "#{@user.name} cancelled <a href='#{deploy_url}'>deploy</a> <strong>#{@project.name}</strong> on <strong>#{@stage.name}</strong><br>" if @deploy.job.cancelled?
|
66
66
|
|