Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (27 sloc) 1.159 kb
1c6542f @thewoolleyman CruiseControl.rb config file pointing to dev mailing list
thewoolleyman authored
1 # Project-specific configuration for CruiseControl.rb
041ee98 @thewoolleyman only send ci emails to dev list from official servers
thewoolleyman authored
2 require 'socket'
1c6542f @thewoolleyman CruiseControl.rb config file pointing to dev mailing list
thewoolleyman authored
3
4 Project.configure do |project|
fda095d @thewoolleyman Continuous Integration config enhancements and wrapper script. Support ...
thewoolleyman authored
5 # To add a build for a new interpreter (from ccrb root):
6 # ./cruise add RubyGems-x_y_z-pxxx -s git -r git://github.com/rubygems/rubygems.git
7 interpreter = Regexp.new(/RubyGems-(.*)$/i).match(project.name)[1]
8 interpreter.gsub!('_','.')
1c6542f @thewoolleyman CruiseControl.rb config file pointing to dev mailing list
thewoolleyman authored
9
fda095d @thewoolleyman Continuous Integration config enhancements and wrapper script. Support ...
thewoolleyman authored
10 # only send notifications from the official ci box
11 if Socket.gethostname =~ /cibuilder.pivotallabs.com/
12 # explicitly enable dev list notification only for interpreters which should be green
13 interpreters_with_enabled_notification = [
8ef9ca9 @thewoolleyman turn on CI notifications to dev list for builds which are currently gree...
thewoolleyman authored
14 '1.8.7-p330',
15 '1.9.1-p378',
16 '1.9.2-p136'
fda095d @thewoolleyman Continuous Integration config enhancements and wrapper script. Support ...
thewoolleyman authored
17 ]
18 if interpreters_with_enabled_notification.include?(interpreter)
19 project.email_notifier.emails = ['rubygems-developers@rubyforge.org']
20 end
1c6542f @thewoolleyman CruiseControl.rb config file pointing to dev mailing list
thewoolleyman authored
21
fda095d @thewoolleyman Continuous Integration config enhancements and wrapper script. Support ...
thewoolleyman authored
22 # Always notify the following for all interpreters:
23 project.email_notifier.emails.concat([
24 'thewoolleyman+rubygems-ci@gmail.com'
25 ])
26 end
1c6542f @thewoolleyman CruiseControl.rb config file pointing to dev mailing list
thewoolleyman authored
27
fda095d @thewoolleyman Continuous Integration config enhancements and wrapper script. Support ...
thewoolleyman authored
28 project.build_command = "./ci_build.sh '#{interpreter}@rubygems'"
1c6542f @thewoolleyman CruiseControl.rb config file pointing to dev mailing list
thewoolleyman authored
29
fda095d @thewoolleyman Continuous Integration config enhancements and wrapper script. Support ...
thewoolleyman authored
30 project.email_notifier.from = 'thewoolleyman+rubygems-ci@gmail.com'
1c6542f @thewoolleyman CruiseControl.rb config file pointing to dev mailing list
thewoolleyman authored
31 project.scheduler.polling_interval = 5.minutes
a146200 @drbrain Revert 2236, version gets set at release time.
drbrain authored
32 end
Something went wrong with that request. Please try again.