samson_hipchat 0.1.1 → 0.1.2
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 +1 -1
- 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: d2357dc27f09977bb0e5d87873eda6e8075dba1a
|
4
|
+
data.tar.gz: 7325c552dfa21e5b89a284b6c577b32df9a23d56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff4cd59d4fe0af1f1464280f56be13010bb339a9cca50a52a1ced5a3cc6fe7a902438bb5be287840abeb3b6a847cceecb05fb53d7df3700a1b36c85f6d3d1fc3
|
7
|
+
data.tar.gz: 1b3f0b18a6f6fd91e7ecd28866116304d38ad2f55ca5b973ff49c95c919898514769e116e9440e8845507af444123cdc42887cc45c66280a8c93f1cc45eadd06
|
@@ -58,7 +58,7 @@ 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 deploy <strong>#{@project.name}</strong> @<a href='#{diff_url}'>#{@deploy.commit}
|
61
|
+
subject = "#{@user.name} successfully deploy <strong>#{@project.name}</strong> @<a href='#{diff_url}'>#{@deploy.commit}</a> on <strong>#{@stage.name}</strong><br>" if @deploy.job.succeeded?
|
62
62
|
|
63
63
|
subject = "#{@user.name} failed to <a href='#{deploy_url}'>deploy</a> <strong>#{@project.name}</strong> on <strong>#{@stage.name}</strong><br>" if @deploy.job.failed? || @deploy.job.errored?
|
64
64
|
|