aboutsummaryrefslogtreecommitdiffstats
path: root/ci/cruise_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ci/cruise_config.rb')
-rw-r--r--ci/cruise_config.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/ci/cruise_config.rb b/ci/cruise_config.rb
index 2247a1b6ea..439a93d69b 100644
--- a/ci/cruise_config.rb
+++ b/ci/cruise_config.rb
@@ -1,6 +1,9 @@
Project.configure do |project|
- project.build_command = 'sudo update_rubygems && ruby ci/ci_build.rb'
- project.email_notifier.emails = ['thewoolleyman@gmail.com']
-# project.email_notifier.emails = ['thewoolleyman@gmail.com','michael@koziarski.com', 'david@loudthinking.com', 'jeremy@bitsweat.net', 'josh@joshpeek.com', 'pratiknaik@gmail.com', 'wycats@gmail.com']
- project.email_notifier.from = 'thewoolleyman+railsci@gmail.com'
+ # Send email notifications about broken and fixed builds to core mailing list
+ if Socket.gethostname =~ /ci.rubyonrails.org/
+ project.email_notifier.emails = ['rubyonrails-core@googlegroups.com']
+ end
+
+ project.build_command = 'sudo update_rubygems && ruby ci/ci_build.rb'
+ project.email_notifier.from = 'thewoolleyman+railsci@gmail.com'
end