From acangiano at gmail.com Fri Aug 3 18:45:16 2007 From: acangiano at gmail.com (Antonio Cangiano) Date: Fri, 3 Aug 2007 18:45:16 -0400 Subject: [Cruisecontrolrb-users] Ruby 1.8.6 issues Message-ID: <309e18020708031545s6c8b5130x7372a7b37e996d5a@mail.gmail.com> CruiseControl.rb works great with Ruby 1.8.5 but it is currently not working correctly with 1.8.6 (because error codes are not returned when exceptions are raised while running tests). I was wondering if you have a rough estimate of when a fix will be available? Thanks in advance, Antonio -- http://antoniocangiano.com - Zen and the Art of Ruby Programming http://math-blog.com - Math Blog: Mathematics is wonderful! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070803/40322ddd/attachment.html From jeremystellsmith at gmail.com Sat Aug 4 17:51:39 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Sat, 4 Aug 2007 14:51:39 -0700 Subject: [Cruisecontrolrb-users] Ruby 1.8.6 issues In-Reply-To: <309e18020708031545s6c8b5130x7372a7b37e996d5a@mail.gmail.com> References: <309e18020708031545s6c8b5130x7372a7b37e996d5a@mail.gmail.com> Message-ID: as I understand it, the problem is w/ test/unit - so we're waiting for the next interim release of ruby for it to be fixed. that said, you can probably code a work around if you must use 1.8.6 look at the at_exit handler in test/unit, you might be able to do a similar thing w/o using an at_exit block (include all your tests, then call the code directly and return 0 or 1 as appropriate) if it works let us know! Jeremy On 8/3/07, Antonio Cangiano wrote: > > CruiseControl.rb works great with Ruby 1.8.5 but it is currently not > working correctly with 1.8.6 (because error codes are not returned when > exceptions are raised while running tests). I was wondering if you have a > rough estimate of when a fix will be available? > > Thanks in advance, > Antonio > -- > http://antoniocangiano.com - Zen and the Art of Ruby Programming > http://math-blog.com - Math Blog: Mathematics is wonderful! > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070804/29661f26/attachment-0001.html From twalters at dominiondigital.com Sun Aug 5 22:08:14 2007 From: twalters at dominiondigital.com (Travis Walters) Date: Sun, 5 Aug 2007 22:08:14 -0400 Subject: [Cruisecontrolrb-users] rake build issue related to foreign key constraints? Message-ID: I'm setting up cruisecontrol.rb to build a simple rails project. When I run rake test from the work directory manually all tests pass and the build is successful but when I run the build thru cc it fails with an error on a create table statement saying the table already exists. Any suggestions would be very much appreciated. Also, if I run the rake command with a trace the results show different values when run through cc than when I run the same test task manually (Execute environment call when run manually doesn't appear in my trace for cc). From thibaut.barrere at gmail.com Mon Aug 6 03:21:19 2007 From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=) Date: Mon, 6 Aug 2007 09:21:19 +0200 Subject: [Cruisecontrolrb-users] rake build issue related to foreign key constraints? In-Reply-To: References: Message-ID: <4a68b8cf0708060021r461f386te6fc98782f218c22@mail.gmail.com> Hi Travis could you copy your cc failing building logs to give more details ? best Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070806/c95c1197/attachment.html From twalters at dominiondigital.com Mon Aug 6 09:45:56 2007 From: twalters at dominiondigital.com (Travis Walters) Date: Mon, 6 Aug 2007 09:45:56 -0400 Subject: [Cruisecontrolrb-users] rake build issue related to foreign key constraints? In-Reply-To: <4a68b8cf0708060021r461f386te6fc98782f218c22@mail.gmail.com> References: , <4a68b8cf0708060021r461f386te6fc98782f218c22@mail.gmail.com> Message-ID: <15591E9A-B60A-45F4-B664-293F61C8A316@mimectl> Sure, here is the contents of my build.log file: -> 0.0038s == CreateProjects: migrated (0.0039s) ========================================= == CreateObjectives: migrating ================================================ -- create_table(:objectives) -> 0.0052s -- execute("alter table objectives add constraint fk_objectives_projects foreign key (project_id) references projects(id)") -> 0.0057s == CreateObjectives: migrated (0.0109s) ======================================= == CreateMeasurements: migrating ============================================== -- create_table(:measurements) -> 0.0018s -- execute("alter table measurements add constraint fk_measurements_objectives foreign key (objective_id) references objectives(id)") -> 0.0037s == CreateMeasurements: migrated (0.0057s) ===================================== == CreateBenchmarks: migrating ================================================ -- create_table(:benchmarks) -> 0.0019s -- execute("alter table benchmarks add constraint fk_benchmarks_measurements foreign key (measurement_id) references measurements(id)") -> 0.0038s == CreateBenchmarks: migrated (0.0058s) ======================================= == CreateMetrics: migrating =================================================== -- create_table(:metrics) -> 0.0029s -- execute("alter table metrics add constraint fk_metrics_measurements foreign key (measurement_id) references measurements(id)") -> 0.0035s == CreateMetrics: migrated (0.0065s) ========================================== == AddSessions: migrating ===================================================== -- create_table(:sessions) -> 0.0024s -- add_index(:sessions, :session_id) -> 0.0031s -- add_index(:sessions, :updated_at) -> 0.0079s == AddSessions: migrated (0.0136s) ============================================ ** Invoke db:schema:dump (first_time) ** Invoke environment ** Execute db:schema:dump [CruiseControl] Invoking Rake task "test" ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment ** Execute db:test:prepare ** Invoke db:test:clone (first_time) ** Invoke db:schema:dump ** Invoke db:test:purge ** Execute db:test:clone ** Invoke db:schema:load (first_time) ** Invoke environment ** Execute db:schema:load ** Invoke test:functionals (first_time) ** Invoke db:test:prepare ** Execute test:functionals Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader Started ........ Finished in 0.056911 seconds. 8 tests, 20 assertions, 0 failures, 0 errors /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" ** Invoke test:integration (first_time) ** Invoke db:test:prepare ** Execute test:integration Mysql::Error: #42S01Table 'measurements' already exists: CREATE TABLE measurements (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `qualifier` varchar(255) DEFAULT NULL, `objective_id` int(11) DEFAULT NULL) ENGINE=InnoDB /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/mysql_adapter.rb:243:in `execute' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/mysql_adapter.rb:353:in `create_table' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:275:in `send' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:275:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:259:in `say_with_time' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:259:in `say_with_time' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:273:in `method_missing' ./db/schema.rb:16 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/schema.rb:43:in `instance_eval' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/schema.rb:43:in `define' ./db/schema.rb:5 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/databases.rake:31 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/databases.rake:76 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/databases.rake:153 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `send' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each' /usr/local/lib/ruby/gems/1.rake aborted! Test failures /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:53 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' /usr/lib/cruisecontrolrb-1.1.0/tasks/cc_build.rake:5:in `invoke_rake_task' /usr/lib/cruisecontrolrb-1.1.0/tasks/cc_build.rake:59 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run' -e:1 8/gems/rake-0.7.3/lib/rake.rb:368:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:45 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:43:in `collect' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:43 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' /usr/lib/cruisecontrolrb-1.1.0/tasks/cc_build.rake:5:in `invoke_rake_task' /usr/lib/cruisecontrolrb-1.1.0/tasks/cc_build.rake:59 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run' -e:1 dir : /usr/lib/cruisecontrolrb-1.1.0/projects/goalkeeper/work command : ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/usr/lib/cruisecontrolrb-1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << '--trace' << 'cc:build'; Rake.application.run" executed command : echo /usr/lib/cruisecontrolrb-1.1.0/projects/goalkeeper/work twalters$ ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/usr/lib/cruisecontrolrb-1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << '--trace' << 'cc:build'; Rake.application.run" >> /usr/lib/cruisecontrolrb-1.1.0/projects/goalkeeper/build-42/build.log && ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/usr/lib/cruisecontrolrb-1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << '--trace' << 'cc:build'; Rake.application.run" >> /usr/lib/cruisecontrolrb-1.1.0/projects/goalkeeper/build-42/build.log 2>&1 exitstatus: 1 STDERR TAIL START STDERR TAIL END [root at Ricdev3 build-42]# here's a trace run from running rake test manually against the same code base: [root at Ricdev3 work]# rake test (in /usr/lib/cruisecontrolrb-1.1.0/projects/goalkeeper/work) /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "test/unit/project_test.rb" Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader Started .... Finished in 0.022967 seconds. 4 tests, 7 assertions, 0 failures, 0 errors /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "test/functional/admin_controller_test.rb" Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader Started ........ Finished in 0.058725 seconds. 8 tests, 20 assertions, 0 failures, 0 errors /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" [root at Ricdev3 work]# From: Thibaut Barr?re Sent: Mon 8/6/2007 3:21 AM To: Travis Walters Cc: cruisecontrolrb-users at rubyforge.org Subject: Re: [Cruisecontrolrb-users] rake build issue related to foreign key constraints? Hi Travis could you copy your cc failing building logs to give more details ? best Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070806/43426f86/attachment-0001.html From Lalitha.Vemuri at dowjones.com Mon Aug 6 13:55:36 2007 From: Lalitha.Vemuri at dowjones.com (Vemuri, Lalitha) Date: Mon, 6 Aug 2007 13:55:36 -0400 Subject: [Cruisecontrolrb-users] email notification not working Message-ID: <1E76327255D0A24A9D0A6C4A3503419C157585A6@SBKE2KMB01.win.dowjones.net> Hi, Has anyone been able to get the email notification to work in cc.rb? I followed the instructions in the email plugin doc, but no success. Any idea what could be wrong? [error] [2007-08-06 13:35:18] Error sending e-mail - current server settings are : :address = "xxx.xx.xxx.xxx" :password = "xxx" :username = "lalitha" :domain = "xxxxx.com" [error] both user and secret are required Build 30574.6 FAILED [error] Error in plugin EmailNotifier: both user and secret are required This is my site config : ActionMailer::Base.smtp_settings = { :address => "xxx.xx.xxx.xxx", :domain => "djxxx.com", :port => 25, :domain => "djxxx.com" } In the java version of cc, I had to set the proxy port, how do you set this in cc.rb? Thanks Lalitha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070806/25d1d92e/attachment.html From sean at densone.com Mon Aug 6 14:07:50 2007 From: sean at densone.com (Sean) Date: Mon, 6 Aug 2007 14:07:50 -0400 Subject: [Cruisecontrolrb-users] email notification not working In-Reply-To: <1E76327255D0A24A9D0A6C4A3503419C157585A6@SBKE2KMB01.win.dowjones.net> References: <1E76327255D0A24A9D0A6C4A3503419C157585A6@SBKE2KMB01.win.dowjones.net> Message-ID: <1EC427C1-2C6D-4737-967E-1A005507624C@densone.com> It works fine for me. Check your SMTP log on your mail server. On Aug 6, 2007, at 1:55 PM, Vemuri, Lalitha wrote: > Hi, > > > Has anyone been able to get the email notification to work in cc.rb? > > > I followed the instructions in the email plugin doc, but no > success. Any idea what could be wrong? > > > [error] [2007-08-06 13:35:18] Error sending e-mail - current > server settings are : > > :address = "xxx.xx.xxx.xxx" > > :password = "xxx" > > :username = "lalitha" > > :domain = "xxxxx.com" > > [error] both user and secret are required > > Build 30574.6 FAILED > > [error] Error in plugin EmailNotifier: both user and secret are > required > > > > This is my site config : > > > ActionMailer::Base.smtp_settings = { > > :address => "xxx.xx.xxx.xxx", > > :domain => "djxxx.com", > > :port => 25, > > :domain => "djxxx.com" > > } > > > In the java version of cc, I had to set the proxy port, how do you > set this in cc.rb? > > > Thanks > > Lalitha > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070806/33d172b8/attachment.html From sean at densone.com Mon Aug 6 15:23:07 2007 From: sean at densone.com (Sean) Date: Mon, 6 Aug 2007 15:23:07 -0400 Subject: [Cruisecontrolrb-users] email notification not working In-Reply-To: <1EC427C1-2C6D-4737-967E-1A005507624C@densone.com> References: <1E76327255D0A24A9D0A6C4A3503419C157585A6@SBKE2KMB01.win.dowjones.net> <1EC427C1-2C6D-4737-967E-1A005507624C@densone.com> Message-ID: <99D03CAF-51E4-439D-82FA-9038EF2625DF@densone.com> sorry I just saw the error. On Aug 6, 2007, at 2:07 PM, Sean wrote: > It works fine for me. Check your SMTP log on your mail server. > > > On Aug 6, 2007, at 1:55 PM, Vemuri, Lalitha wrote: > >> Hi, >> >> >> Has anyone been able to get the email notification to work in cc.rb? >> >> >> I followed the instructions in the email plugin doc, but no >> success. Any idea what could be wrong? >> >> >> [error] [2007-08-06 13:35:18] Error sending e-mail - current >> server settings are : >> >> :address = "xxx.xx.xxx.xxx" >> >> :password = "xxx" >> >> :username = "lalitha" >> >> :domain = "xxxxx.com" >> >> [error] both user and secret are required >> >> Build 30574.6 FAILED >> >> [error] Error in plugin EmailNotifier: both user and secret are >> required >> >> >> >> This is my site config : >> >> >> ActionMailer::Base.smtp_settings = { >> >> :address => "xxx.xx.xxx.xxx", >> >> :domain => "djxxx.com", >> >> :port => 25, >> >> :domain => "djxxx.com" >> >> } >> >> >> In the java version of cc, I had to set the proxy port, how do you >> set this in cc.rb? >> >> >> Thanks >> >> Lalitha >> >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070806/1c671d3c/attachment.html From Lalitha.Vemuri at dowjones.com Mon Aug 6 16:00:44 2007 From: Lalitha.Vemuri at dowjones.com (Vemuri, Lalitha) Date: Mon, 6 Aug 2007 16:00:44 -0400 Subject: [Cruisecontrolrb-users] email notification not working Message-ID: <1E76327255D0A24A9D0A6C4A3503419C157585A7@SBKE2KMB01.win.dowjones.net> Thanks for the reply. I had to set the proxy in the settings.xml in cc (non-ruby version of cc) for the html email to work. How do I configure the proxy for cc.rb? Thanks -----Original Message----- From: Sean [mailto:sean at densone.com] Sent: Monday, August 06, 2007 3:23 PM To: Sean Cc: Vemuri, Lalitha; cruisecontrolrb-users at rubyforge.org Subject: Re: [Cruisecontrolrb-users] email notification not working sorry I just saw the error. On Aug 6, 2007, at 2:07 PM, Sean wrote: It works fine for me. Check your SMTP log on your mail server. On Aug 6, 2007, at 1:55 PM, Vemuri, Lalitha wrote: Hi, Has anyone been able to get the email notification to work in cc.rb? I followed the instructions in the email plugin doc, but no success. Any idea what could be wrong? [error] [2007-08-06 13:35:18] Error sending e-mail - current server settings are : :address = "xxx.xx.xxx.xxx" :password = "xxx" :username = "lalitha" :domain = "xxxxx.com" [error] both user and secret are required Build 30574.6 FAILED [error] Error in plugin EmailNotifier: both user and secret are required This is my site config : ActionMailer::Base.smtp_settings = { :address => "xxx.xx.xxx.xxx", :domain => "djxxx.com", :port => 25, :domain => "djxxx.com" } In the java version of cc, I had to set the proxy port, how do you set this in cc.rb? Thanks Lalitha _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070806/5b328fe6/attachment-0001.html From RRussell at thoughtworks.com Tue Aug 7 00:20:25 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Mon, 6 Aug 2007 23:20:25 -0500 Subject: [Cruisecontrolrb-users] email notification not working In-Reply-To: <99D03CAF-51E4-439D-82FA-9038EF2625DF@densone.com> Message-ID: think you are missing the password in your smtp settings. for example: ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "yourdomain.com", :authentication => :plain, :user_name => "yourgmailaccount", :password => "yourgmailpassword" } i had a strange problem with receiving an email through the app itself, but when ran it through a simple test i got the emails. think the problem has something to do with gmail, other people are seeing this too: http://www.stephenchu.com/2006/06/how-to-use-gmail-smtp-server-to-send.html (scroll to the bottom comments) don't have time to look anymore into it tonight. here's the working test: require File.dirname(__FILE__) + '/../test_helper' class MyEmailNotifierTest < Test::Unit::TestCase def setup ActionMailer::Base.deliveries = [] ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "mylaptop.com", :authentication => :plain, :user_name => "me at gmail.com", :password => "mypassword" } ActionMailer::Base.delivery_method = :smtp end def test_do_nothing_with_passing_build BuildMailer.send(:deliver_build_report, Build.new(nil, 5), ["rolf at thoughtworks.com", "rrussell at thoughtworks.com"], "rolf at builder.com", "some text 1", "some text 2") puts 'server settings ...' puts ActionMailer::Base.server_settings puts 'mail ....' puts ActionMailer::Base.deliveries[0].to_s assert_equal [], ActionMailer::Base.deliveries end end Sean Sent by: cruisecontrolrb-users-bounces at rubyforge.org 08/06/2007 02:23 PM To Sean cc cruisecontrolrb-users at rubyforge.org, "Vemuri, Lalitha" Subject Re: [Cruisecontrolrb-users] email notification not working sorry I just saw the error. On Aug 6, 2007, at 2:07 PM, Sean wrote: It works fine for me. Check your SMTP log on your mail server. On Aug 6, 2007, at 1:55 PM, Vemuri, Lalitha wrote: Hi, Has anyone been able to get the email notification to work in cc.rb? I followed the instructions in the email plugin doc, but no success. Any idea what could be wrong? [error] [2007-08-06 13:35:18] Error sending e-mail - current server settings are : :address = "xxx.xx.xxx.xxx" :password = "xxx" :username = "lalitha" :domain = "xxxxx.com" [error] both user and secret are required Build 30574.6 FAILED [error] Error in plugin EmailNotifier: both user and secret are required This is my site config : ActionMailer::Base.smtp_settings = { :address => "xxx.xx.xxx.xxx", :domain => "djxxx.com", :port => 25, :domain => "djxxx.com" } In the java version of cc, I had to set the proxy port, how do you set this in cc.rb? Thanks Lalitha _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070806/9ce0b5e6/attachment.html From alexey.verkhovsky at gmail.com Tue Aug 7 02:14:02 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Tue, 7 Aug 2007 00:14:02 -0600 Subject: [Cruisecontrolrb-users] Fwd: email notification not working In-Reply-To: <3945c4270708062313h61340e14xdc8ac173b2f05cf2@mail.gmail.com> References: <1E76327255D0A24A9D0A6C4A3503419C157585A6@SBKE2KMB01.win.dowjones.net> <3945c4270708062313h61340e14xdc8ac173b2f05cf2@mail.gmail.com> Message-ID: <3945c4270708062314m34c1926cm5c6339204fb7332e@mail.gmail.com> On 8/6/07, Vemuri, Lalitha wrote: > Has anyone been able to get the email notification to work in cc.rb? Yes, many people have. Including email notification via GMail SMTP server. Your error message comes from net/smtp.rb (part of Ruby's standard library), and from reading the source code, it probably means that you haven't provided the SMTP password in your config. Which, indeed, seems to be the case. Does that make sense? -- Alex From Lalitha.Vemuri at dowjones.com Wed Aug 8 11:43:21 2007 From: Lalitha.Vemuri at dowjones.com (Vemuri, Lalitha) Date: Wed, 8 Aug 2007 11:43:21 -0400 Subject: [Cruisecontrolrb-users] email notification not working Message-ID: <1E76327255D0A24A9D0A6C4A3503419C157585A8@SBKE2KMB01.win.dowjones.net> Thanks for all your responses. I am still getting the error below. I don't want to use gmail, we have our own smtp server. How do I configure email to use non-gmail smtp server? -> "220 sb117inmr02.dowjones.net ESMTP\r\n" <- "EHLO www.dowjones.com\r\n" -> "250-sb117inmr02.dowjones.net\r\n" -> "250-8BITMIME\r\n" -> "250 SIZE 104857600\r\n" <- "STARTTLS\r\n" -> "500 #5.5.1 command not recognized\r\n" [error] [2007-08-08 11:37:29] Error sending e-mail - current server settings are : :user_name = "zzzz" :address = "xxx.xx.xxx.xxx" :password = "xxxxx" :domain = "www.dowjones.com" :port = 25 [error] 500 #5.5.1 command not recognized Build 30574.14 FAILED [error] Error in plugin EmailNotifier: 500 #5.5.1 command not recognized Thanks Lalitha -----Original Message----- From: Rolf Russell [mailto:RRussell at thoughtworks.com] Sent: Tuesday, August 07, 2007 12:20 AM To: cruisecontrolrb-users at rubyforge.org Cc: Vemuri, Lalitha; Sean Subject: Re: [Cruisecontrolrb-users] email notification not working think you are missing the password in your smtp settings. for example: ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "yourdomain.com", :authentication => :plain, :user_name => "yourgmailaccount", :password => "yourgmailpassword" } i had a strange problem with receiving an email through the app itself, but when ran it through a simple test i got the emails. think the problem has something to do with gmail, other people are seeing this too: http://www.stephenchu.com/2006/06/how-to-use-gmail-smtp-server-to-send.h tml (scroll to the bottom comments) don't have time to look anymore into it tonight. here's the working test: require File.dirname(__FILE__) + '/../test_helper' class MyEmailNotifierTest < Test::Unit::TestCase def setup ActionMailer::Base.deliveries = [] ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "mylaptop.com", :authentication => :plain, :user_name => "me at gmail.com", :password => "mypassword" } ActionMailer::Base.delivery_method = :smtp end def test_do_nothing_with_passing_build BuildMailer.send(:deliver_build_report, Build.new(nil, 5), ["rolf at thoughtworks.com", "rrussell at thoughtworks.com"], "rolf at builder.com", "some text 1", "some text 2") puts 'server settings ...' puts ActionMailer::Base.server_settings puts 'mail ....' puts ActionMailer::Base.deliveries[0].to_s assert_equal [], ActionMailer::Base.deliveries end end Sean Sent by: cruisecontrolrb-users-bounces at rubyforge.org 08/06/2007 02:23 PM To Sean cc cruisecontrolrb-users at rubyforge.org, "Vemuri, Lalitha" Subject Re: [Cruisecontrolrb-users] email notification not working sorry I just saw the error. On Aug 6, 2007, at 2:07 PM, Sean wrote: It works fine for me. Check your SMTP log on your mail server. On Aug 6, 2007, at 1:55 PM, Vemuri, Lalitha wrote: Hi, Has anyone been able to get the email notification to work in cc.rb? I followed the instructions in the email plugin doc, but no success. Any idea what could be wrong? [error] [2007-08-06 13:35:18] Error sending e-mail - current server settings are : :address = "xxx.xx.xxx.xxx" :password = "xxx" :username = "lalitha" :domain = "xxxxx.com" [error] both user and secret are required Build 30574.6 FAILED [error] Error in plugin EmailNotifier: both user and secret are required This is my site config : ActionMailer::Base.smtp_settings = { :address => "xxx.xx.xxx.xxx", :domain => "djxxx.com", :port => 25, :domain => "djxxx.com" } In the java version of cc, I had to set the proxy port, how do you set this in cc.rb? Thanks Lalitha _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070808/fadb426c/attachment-0001.html From grant.mcinnes at ehealthinnovation.org Fri Aug 10 20:03:56 2007 From: grant.mcinnes at ehealthinnovation.org (Grant McInnes) Date: Fri, 10 Aug 2007 20:03:56 -0400 Subject: [Cruisecontrolrb-users] Cruisecontrolrb-users Digest, Vol 6, Issue 1 In-Reply-To: References: Message-ID: <1A185B12-BF17-4C4F-91C4-BE08A30C28A7@ehealthinnovation.org> Hi all: Is it possible for a builder to have more than one scheduler associated with it? -grant On 4-Aug-07, at 5:51 PM, cruisecontrolrb-users-request at rubyforge.org wrote: > Send Cruisecontrolrb-users mailing list submissions to > cruisecontrolrb-users at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > or, via email, send a message with subject or body 'help' to > cruisecontrolrb-users-request at rubyforge.org > > You can reach the person managing the list at > cruisecontrolrb-users-owner at rubyforge.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cruisecontrolrb-users digest..." > > > Today's Topics: > > 1. Re: remote builders (manish) > 2. Re: remote builders (Rolf Russell) > 3. Re: remote builders (Alexey Verkhovsky) > 4. CruiseControl.rb with CVS (Joshua Mervine) > 5. Re: CruiseControl.rb with CVS (Jeremy Stell-Smith) > 6. [ANN] CCTray written in Java to connect to Cruise Control > (Ketan Padegaonkar) > 7. Ruby 1.8.6 issues (Antonio Cangiano) > 8. Re: Ruby 1.8.6 issues (Jeremy Stell-Smith) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 19 Jul 2007 10:37:58 +0530 > From: manish > Subject: Re: [Cruisecontrolrb-users] remote builders > To: Rolf Russell , > cruisecontrolrb-users at rubyforge.org > Message-ID: <469EF1AE.3030908 at gslab.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > Rolf Russell wrote: >> >> I started looking at using cygwin to provide ssh in windows a few >> weeks ago but got side tracked and didn't finish. I would recommend >> starting by looking into that. >> >> It would be possible to have a daemon/agent running on the remote >> machine. I've shyed away from this because ssh was such a simple >> solution and I didn't have time. >> It may also be possible to simply run cruise on the remote machine >> and >> use a shared file system to have the main instance of cruise report >> the results from all remote machines. There are likely issues to be >> worked out with showing when a build is running, forcing builds, etc. > What I am thinking of is some kind of abstraction layer, may be in > rake, > where in > we just say a given task is to be executed on remote machine, by > specifying some > attributes, e.g. IP, Port in case of RDB or host, username and > password > in case of > ssh. We also assume that the remote machine has all the necessary > requirement > fulfilled to execute given task. > > I am not sure if this is really a CCRB item or a rake item, but in a > given typical > scenario, I want some of my tests to run on windows machine and the > report should > be retrieved back for on CCRB. E.g. Some of my watir test has to > run on > Windows > machine, where as my CCRB is hosted on Unix machine. So for me turning > off those > watir tests is the only option for CCRB build to report success. > > Hope this make sense. > Thanks and Regards, > Manish > > > > > ------------------------------ > > Message: 2 > Date: Thu, 19 Jul 2007 09:34:18 -0500 > From: Rolf Russell > Subject: Re: [Cruisecontrolrb-users] remote builders > To: cruisecontrolrb-users at rubyforge.org > Message-ID: > 00505E34 at thoughtworks.com> > > Content-Type: text/plain; charset="us-ascii" > > Hi Manish, > > I say give ssh or drb a shot and tell us what happens. I think both > approaches are reasonable. I'm not convinced about the value of an > abstraction layer over both ssh & drb. I'm more of a > get-one-of-them-to-work-and-then-see type of guy. > > BTW - does anyone else have a solution around the pains of ssh on > windows? > > --Rolf > > > > > > > > manish > 07/19/2007 12:07 AM > > To > Rolf Russell , > cruisecontrolrb-users at rubyforge.org > cc > > Subject > Re: [Cruisecontrolrb-users] remote builders > > > > > > > > Rolf Russell wrote: >> >> I started looking at using cygwin to provide ssh in windows a few >> weeks ago but got side tracked and didn't finish. I would recommend >> starting by looking into that. >> >> It would be possible to have a daemon/agent running on the remote >> machine. I've shyed away from this because ssh was such a simple >> solution and I didn't have time. >> It may also be possible to simply run cruise on the remote machine >> and >> use a shared file system to have the main instance of cruise report >> the results from all remote machines. There are likely issues to be >> worked out with showing when a build is running, forcing builds, etc. > What I am thinking of is some kind of abstraction layer, may be in > rake, > where in > we just say a given task is to be executed on remote machine, by > specifying some > attributes, e.g. IP, Port in case of RDB or host, username and > password > in case of > ssh. We also assume that the remote machine has all the necessary > requirement > fulfilled to execute given task. > > I am not sure if this is really a CCRB item or a rake item, but in a > given typical > scenario, I want some of my tests to run on windows machine and the > report should > be retrieved back for on CCRB. E.g. Some of my watir test has to > run on > Windows > machine, where as my CCRB is hosted on Unix machine. So for me turning > off those > watir tests is the only option for CCRB build to report success. > > Hope this make sense. > Thanks and Regards, > Manish > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/ > attachments/20070719/ed4e3ad7/attachment-0001.html > > ------------------------------ > > Message: 3 > Date: Thu, 19 Jul 2007 14:39:01 -0500 > From: Alexey Verkhovsky > Subject: Re: [Cruisecontrolrb-users] remote builders > To: cruisecontrolrb-users at rubyforge.org > Message-ID: > 006BF1BF at thoughtworks.com> > > Content-Type: text/plain; charset="us-ascii" > > Hi, > > There is a couple of ways to have sshd on a Windows box. Cygwin is the > most obvious, and I think there is an inexpensive (to the tune of $40) > commercial solution. > One can also write a really simple web app that does this. > > Botom line: it's not a hard problem to roll your own solution for, and > there are not many enough CC.rb users who need it, so it doesn't > seem to > be a good core feature to me. > > -- > Alex > > > > > > Manish Sapariya > Sent by: cruisecontrolrb-users-bounces at rubyforge.org > 07/17/2007 11:07 PM > > To > cruisecontrolrb-users at rubyforge.org > cc > > Subject > Re: [Cruisecontrolrb-users] remote builders > > > > > > > Would n't it be possible to have some daemon like thing running on > remote > machine, which is drb or custom protocol based. > > Ssh does not work (out of the box) when remote windows is machine. > > My problem is that I want to run unit tests on multiple platforms > in one > of > my build configuration. > > Thanks, > Manish > > > Rolf Russell wrote: >> >> It shouldn't be hard. I haven't had a chance to do it yet but have >> seen things like: >> >> project.build_command = 'ssh bob at remotebox ./home/ >> run_build.sh >> ' >> >> where the code is checked out both on the ccrb box and on the remote >> box. ccrb figures out the revision when it is triggered and then >> passes it to a shell script on the remotebox that checks out to that >> revision and runs the build. >> >> run_build.sh: >> #/bin/bash >> svn up -r$1 >> rake >> >> The trick is that ccrb doesn't know how to figure out the revision >> yet. You'll need to substitute the revision number for >> before calling ssh. >> If you do the work feel free to submit a patch. >> >> --Rolf > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/ > attachments/20070719/505203d4/attachment-0001.html > > ------------------------------ > > Message: 4 > Date: Mon, 23 Jul 2007 12:47:49 -0700 > From: Joshua Mervine > Subject: [Cruisecontrolrb-users] CruiseControl.rb with CVS > To: Cruisecontrolrb-users at rubyforge.org > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Is it possible to use CruiseControl.rb with cvs? I couldn't find any > docs on it. Thanks. > > --Josh > > > > > > ------------------------------ > > Message: 5 > Date: Tue, 24 Jul 2007 08:48:38 -0700 > From: "Jeremy Stell-Smith" > Subject: Re: [Cruisecontrolrb-users] CruiseControl.rb with CVS > To: "Joshua Mervine" > Cc: Cruisecontrolrb-users at rubyforge.org > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > not currently, but there are a few people that have successfully > hacked in > support to different vcs's. CVS is close enough to Subversion that it > should be relatively straitforward if you're feeling brave :) > > On 7/23/07, Joshua Mervine wrote: >> >> Is it possible to use CruiseControl.rb with cvs? I couldn't find any >> docs on it. Thanks. >> >> --Josh >> >> >> >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/ > attachments/20070724/1840d49b/attachment-0001.html > > ------------------------------ > > Message: 6 > Date: Tue, 24 Jul 2007 21:37:54 +0530 > From: "Ketan Padegaonkar" > Subject: [Cruisecontrolrb-users] [ANN] CCTray written in Java to > connect to Cruise Control > To: cruisecontrol-user at lists.sourceforge.net, > cruisecontrolrb-users at rubyforge.org, > cruisecontrolrb-developers at rubyforge.org > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > JCCTray is a Java port of CCTray that was originally written in .NET. > JCCTray is a utility for use with all flavors of CruiseControl > Continuous Integration servers. Specifically it works with > CruiseControl, CruiseControl.NET, CruiseControl.Rb. It provides > feedback on build progress, and allows control over some of the > server's operations. > > You can download JCCTray from http://jcctray.sourceforge.net/ > > Cheers, > Ketan Padegaonkar > I blog... Therefore I am... http://ketan.padegaonkar.name > > > ------------------------------ > > Message: 7 > Date: Fri, 3 Aug 2007 18:45:16 -0400 > From: "Antonio Cangiano" > Subject: [Cruisecontrolrb-users] Ruby 1.8.6 issues > To: cruisecontrolrb-users at rubyforge.org > Message-ID: > <309e18020708031545s6c8b5130x7372a7b37e996d5a at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > CruiseControl.rb works great with Ruby 1.8.5 but it is currently > not working > correctly with 1.8.6 (because error codes are not returned when > exceptions > are raised while running tests). I was wondering if you have a rough > estimate of when a fix will be available? > > Thanks in advance, > Antonio > -- > http://antoniocangiano.com - Zen and the Art of Ruby Programming > http://math-blog.com - Math Blog: Mathematics is wonderful! > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/ > attachments/20070803/40322ddd/attachment-0001.html > > ------------------------------ > > Message: 8 > Date: Sat, 4 Aug 2007 14:51:39 -0700 > From: "Jeremy Stell-Smith" > Subject: Re: [Cruisecontrolrb-users] Ruby 1.8.6 issues > To: "Antonio Cangiano" > Cc: cruisecontrolrb-users at rubyforge.org > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > as I understand it, the problem is w/ test/unit - so we're waiting > for the > next interim release of ruby for it to be fixed. > > that said, you can probably code a work around if you must use 1.8.6 > > look at the at_exit handler in test/unit, you might be able to do a > similar > thing w/o using an at_exit block (include all your tests, then call > the code > directly and return 0 or 1 as appropriate) > > if it works let us know! > > Jeremy > > On 8/3/07, Antonio Cangiano wrote: >> >> CruiseControl.rb works great with Ruby 1.8.5 but it is currently not >> working correctly with 1.8.6 (because error codes are not returned >> when >> exceptions are raised while running tests). I was wondering if you >> have a >> rough estimate of when a fix will be available? >> >> Thanks in advance, >> Antonio >> -- >> http://antoniocangiano.com - Zen and the Art of Ruby Programming >> http://math-blog.com - Math Blog: Mathematics is wonderful! >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >> >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/ > attachments/20070804/29661f26/attachment.html > > ------------------------------ > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > End of Cruisecontrolrb-users Digest, Vol 6, Issue 1 > *************************************************** From alexey.verkhovsky at gmail.com Fri Aug 10 21:00:40 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Fri, 10 Aug 2007 19:00:40 -0600 Subject: [Cruisecontrolrb-users] Cruisecontrolrb-users Digest, Vol 6, Issue 1 In-Reply-To: <3945c4270708101800l66a07cc7pfc215e5f5af7c09d@mail.gmail.com> References: <1A185B12-BF17-4C4F-91C4-BE08A30C28A7@ehealthinnovation.org> <3945c4270708101800l66a07cc7pfc215e5f5af7c09d@mail.gmail.com> Message-ID: <3945c4270708101800q47840d4amd4b0da0219de0b47@mail.gmail.com> On 8/10/07, Grant McInnes wrote: > Is it possible for a builder to have more than one scheduler > associated with it? Only in a sense that it's all interpreted open-sourced code, you can edit it in situ without compilation or deployment hassles. But you can replace the standard PollingScheduler with your own thing, and make it call project.build_if_necessary() as and when needed. In the next version we introduce triggers, that won't be *schedulers*, but will allow you to have more than one thing that can say "yes" to the question "is build necessary now?" So, the check if there is a new SVN revision becomes one of the triggers. Other triggers can be "was there a recent successful buil for another project?", "have we gone for 24 hours without a build?" and so on. And you will be able to have multiple triggers on the same project. -- Alex P.S. Please go easy on quoting when posting to this list :) From james.britt at gmail.com Wed Aug 15 03:04:22 2007 From: james.britt at gmail.com (James Britt) Date: Wed, 15 Aug 2007 00:04:22 -0700 Subject: [Cruisecontrolrb-users] Cruisecontrol not liking masterview plugin Message-ID: <46C2A576.9030403@gmail.com> Hi. I have a Rails app that uses the MasterView template library. Running rake to test the code works fine if I do it by hand in the "work" directory, so the code as pulled from svn seems OK. However, when Cruisecontrol runs rake, it breaks when executing the Masterview plugin initializer file. I get this error: uninitialized constant MasterView::Configuration::ActionController The file (vendor/plugins/masterview/lib/masterview/initializer.rb) should be parsed in the context of Rails (so a reference to ActionController should be fine), but it seems not the case when CC is executing the tests. Suggestions? Has anyone seen this or similar issues with Rails plugins? Thanks, James From nicholas.faiz at gmail.com Fri Aug 17 01:40:24 2007 From: nicholas.faiz at gmail.com (Nicholas Faiz) Date: Fri, 17 Aug 2007 15:40:24 +1000 Subject: [Cruisecontrolrb-users] Wrapping some security for ccrb Message-ID: <46C534C8.1030302@treefallinginthewoods.com> Hi, Has anyone wrapped some security into cruisecontrolrb? I'd like to be able to let the public have view access to the build sheet/overview, but to restrict the 'Build Now' button to someone with a password. I've quickly glanced through the doc.s on the Thoughtworks site. Just wondering if anyone has done this? -- Regards, Nicholas Faiz +61 (0)410 285 531 nicholas at treefallinginthewoods.com http://treefallinginthewoods.com skype: nick.faiz jajah: nicholas.faiz at gmail.com From jelte.liebrand at quickoffice.com Fri Aug 17 03:29:37 2007 From: jelte.liebrand at quickoffice.com (Jelte Liebrand) Date: Fri, 17 Aug 2007 08:29:37 +0100 Subject: [Cruisecontrolrb-users] Question on triggers and overall config Message-ID: <191DDDA2-B458-4215-A978-67CAA04C0FBD@quickoffice.com> Hi there, I have been looking in to CruiseControl and have two quick questions that I was hoping you could answer for me. First of all, is the "trigger_by" supported yet, or would I need to just get the trunk version of cruise control for that? The second question is about the config.rb. I understand there is a [cruise]/config/site_config.rb.example which gets used for each project. But if I have multiple projects, is there a "main" config.rb somewhere? ie one config.rb that applies to *all* my projects, which individual project config.rb's override? (Just thought of a third question, albeit a small one: is there any limit on the number of projects that can run on one cruisecontrol server? I'm thinking about having about 50 projects....) /Cheers, Jelte Jelte Liebrand Director of Engineering General Manager UK office office +44 (0) 203 006 3111 mobile +44 (0) 7970 288 310 email jelte.liebrand at quickoffice.com Powering the Mobile Professional Registered office: Quickoffice, Inc., 6 Lloyd's Avenue, London EC3N 3ES, UK Registered in England and Wales, No: FC27229; Branch No: BR9144 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070817/2c3f21ca/attachment-0001.html From jeremystellsmith at gmail.com Sat Aug 18 12:06:39 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Sat, 18 Aug 2007 09:06:39 -0700 Subject: [Cruisecontrolrb-users] Wrapping some security for ccrb In-Reply-To: <46C534C8.1030302@treefallinginthewoods.com> References: <46C534C8.1030302@treefallinginthewoods.com> Message-ID: not that I know of, but you can take a look at the code for disabling the build now button that is there. that should probably guide you as to where to do it On 8/16/07, Nicholas Faiz wrote: > > Hi, > > Has anyone wrapped some security into cruisecontrolrb? I'd like to be > able to let the public have view access to the build sheet/overview, but > to restrict the 'Build Now' button to someone with a password. > > I've quickly glanced through the doc.s on the Thoughtworks site. Just > wondering if anyone has done this? > > -- > Regards, > Nicholas Faiz > > +61 (0)410 285 531 > nicholas at treefallinginthewoods.com > http://treefallinginthewoods.com > skype: nick.faiz > jajah: nicholas.faiz at gmail.com > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070818/7b66934f/attachment.html From jeremystellsmith at gmail.com Sat Aug 18 12:12:59 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Sat, 18 Aug 2007 09:12:59 -0700 Subject: [Cruisecontrolrb-users] Question on triggers and overall config In-Reply-To: <191DDDA2-B458-4215-A978-67CAA04C0FBD@quickoffice.com> References: <191DDDA2-B458-4215-A978-67CAA04C0FBD@quickoffice.com> Message-ID: interesting questions On 8/17/07, Jelte Liebrand wrote: > > Hi there, > I have been looking in to CruiseControl and have two quick questions that > I was hoping you could answer for me. > > First of all, is the "trigger_by" supported yet, or would I need to just > get the trunk version of cruise control for that? > it's in trunk but we should be releasing it soon. nevertheless, feel free to grab the trunk The second question is about the config.rb. I understand there is > a [cruise]/config/site_config.rb.example which gets used for each project. > But if I have multiple projects, is there a "main" config.rb somewhere? ie > one config.rb that applies to *all* my projects, which individual project > config.rb's override? > site_config actually applies to the server, not the project, but I don't think it's what you're looking for. you're thinking about cruise_config.rb in each project directory. there is no shared config, but there doesn't really have to be. because it's ruby, just add a require File.dirname(__FILE__) + "/../shared_cruise_config" at the top of every one of your cruise_config.rb's and you can put shared code in this new file, have another project settings block in there or whatever (Just thought of a third question, albeit a small one: is there any limit on > the number of projects that can run on one cruisecontrol server? I'm > thinking about having about 50 projects....) > there is no limit, however, keep in mind that unlike java cruise, we don't serialize builds. there is a separate process fired up for every project. so if your builds are long and cpu intensive and they happen fairly often, you could be killing your machine. and, even if that is not the case, each builder currently takes up ~40-80 M of memory (it's a rails thing) so your machine could limit you there. /Cheers, > Jelte > > *Jelte Liebrand > *Director of Engineering > General Manager UK office > > *office* +44 (0) 203 006 3111 > *mobile* +44 (0) 7970 288 310 * * > * email* jelte.liebrand at quickoffice.com > > [image: Quickoffice.com] > *Powering the Mobile Professional* > Registered office: Quickoffice, Inc., 6 Lloyd's Avenue, London EC3N 3ES, > UK > Registered in England and Wales, No: FC27229; Branch No: BR9144 > > > > > > > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070818/d796a9f8/attachment.html From alexey.verkhovsky at gmail.com Sat Aug 18 18:15:48 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Sat, 18 Aug 2007 16:15:48 -0600 Subject: [Cruisecontrolrb-users] Wrapping some security for ccrb In-Reply-To: <3945c4270708162248j1e76adfawbc8318d5b568fba1@mail.gmail.com> References: <46C534C8.1030302@treefallinginthewoods.com> <3945c4270708162248j1e76adfawbc8318d5b568fba1@mail.gmail.com> Message-ID: <3945c4270708181515nefab197h9a4fccea3c3844af@mail.gmail.com> On 8/16/07, Nicholas Faiz wrote: > Has anyone wrapped some security into cruisecontrolrb? I'd like to be > able to let the public have view access to the build sheet/overview, but > to restrict the 'Build Now' button to someone with a password. The approach is to proxy it behind a web server and set up as much security as you need, using the web server, based on URLs. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From alexey.verkhovsky at gmail.com Sat Aug 18 18:17:30 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Sat, 18 Aug 2007 16:17:30 -0600 Subject: [Cruisecontrolrb-users] Question on triggers and overall config In-Reply-To: <3945c4270708171514i685ab699s285e7624312f464a@mail.gmail.com> References: <191DDDA2-B458-4215-A978-67CAA04C0FBD@quickoffice.com> <3945c4270708171514i685ab699s285e7624312f464a@mail.gmail.com> Message-ID: <3945c4270708181517x7bad8466o4179ef88bb60c6be@mail.gmail.com> Hmm... For some reason, the Reply button in for cruisecontrolrb-users sends the reply to the original author, not to the list... ---------- Forwarded message ---------- From: Alexey Verkhovsky Date: Aug 17, 2007 4:14 PM Subject: Re: [Cruisecontrolrb-users] Question on triggers and overall config To: Jelte Liebrand On 8/17/07, Jelte Liebrand wrote: > > > I have been looking in to CruiseControl and have two quick questions that I was hoping you could answer for me. > > > First of all, is the "trigger_by" supported yet, or would I need to just get the trunk version of cruise control for that? No, not yet. It's on the trunk (and at the time of this writing has a rather severe bug in it). > > > The second question is about the config.rb. I understand there is a [cruise]/config/site_config.rb.example which gets used for each project. But if I have multiple projects, is there a "main" config.rb somewhere? ie one config.rb that applies to *all* my projects, which individual project config.rb's override? site_config.rb is a system-wide configuration. Project configuration file is called cruise_config.rb. There isn't anything central (other than the hard-coded defaults). But you can create a default_cruise_config.rb somewhere and require it from cruise_config.rb of every project. > > > (Just thought of a third question, albeit a small one: is there any limit on the number of projects that can run on one cruisecontrol server? I'm thinking about having about 50 projects....) Never tried. The dashboard UI is designed to have 5-6 project panes visible on the screen (although that can be easily changed), and I'd also be concerned about overstressing the CI server. You'd certainly have to run builds remotely (over SSH), and tweak the builder configurations to reduce the amount of Subversion polling. Actually, if I had to organize 50 builds under the same CI server today, I'd be looking at CruiseControl the Original, rather than CC.rb. ThoughtWorks is building a product out of it (called Cruise Control Enterprise), so the latest release had a huge facelift and a bunch of new features aimed exactly at big, complex CI situations. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From marstonstudio at gmail.com Mon Aug 20 12:05:16 2007 From: marstonstudio at gmail.com (Jonathan Marston) Date: Mon, 20 Aug 2007 12:05:16 -0400 Subject: [Cruisecontrolrb-users] Integrating Flash AsUnit with cruisecontrol.rb Message-ID: Hello, I am a Flash Developer on a Ruby on Rails project which is using cruiscontrol.rb. I have built a test harness using AsUnit (http:// asunit.org) which produces a results.xml file which is in the junit results format. Here is sample output. Reference runtime test error Reference assertion test failure I would like to integrate my AsUnit results with the rest of the project. What is the best way to do that? Should I just a script put my results.xml file in the CC_BUILD_ARTIFACTS directory? It looks like CruiseControl 2.7 has a merge property which can be used to merge any junit results into the main build results file http://cruisecontrol.sourceforge.net/main/configxml.html#merge Does cruisecontrol.rb have similar functionality? Jonathan Marston Marston Development Studio LLC email: jon at marstonstudio.com phone: (978) 758-7444 im: marstonstudio (gtalk/yahoo/aol) blog: marstonstudio.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070820/ead13a2a/attachment-0001.html From RRussell at thoughtworks.com Mon Aug 20 14:41:18 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Mon, 20 Aug 2007 13:41:18 -0500 Subject: [Cruisecontrolrb-users] Integrating Flash AsUnit with cruisecontrol.rb In-Reply-To: Message-ID: Hi Jonathan, Yup, you should just move your test results to the CC_BUILD_ARTIFACTS directory. Since xml is difficult to read I would recommend using any commandline output of asunit instead of the xml output. --Rolf Jonathan Marston Sent by: cruisecontrolrb-users-bounces at rubyforge.org 08/20/2007 11:05 AM To cruisecontrolrb-users at rubyforge.org cc Subject [Cruisecontrolrb-users] Integrating Flash AsUnit with cruisecontrol.rb Hello, I am a Flash Developer on a Ruby on Rails project which is using cruiscontrol.rb. I have built a test harness using AsUnit ( http://asunit.org) which produces a results.xml file which is in the junit results format. Here is sample output.d Reference runtime test error Reference assertion test failure I would like to integrate my AsUnit results with the rest of the project. What is the best way to do that? Should I just a script put my results.xml file in the CC_BUILD_ARTIFACTS directory? It looks like CruiseControl 2.7 has a merge property which can be used to merge any junit results into the main build results file http://cruisecontrol.sourceforge.net/main/configxml.html#merge Does cruisecontrol.rb have similar functionality? Jonathan Marston Marston Development Studio LLC email: jon at marstonstudio.com phone: (978) 758-7444 im: marstonstudio (gtalk/yahoo/aol) blog: marstonstudio.com _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070820/ebc6980e/attachment.html From thibaut.barrere at gmail.com Mon Aug 20 14:59:18 2007 From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=) Date: Mon, 20 Aug 2007 20:59:18 +0200 Subject: [Cruisecontrolrb-users] Growl notifier does not appear in the registered applications list - anything to do ? Message-ID: <4a68b8cf0708201159u6129d0d9r7054b3bd671f57d6@mail.gmail.com> Hi! I can't get the growl notification (0.7.6) to work (both from the cc server and from a remote machine). On the cc server, when opening the growl preferences, I noticed that cc.rbdoesn't appear in the list of registered applications. Should it be there for the notification to work ? I've also tried installing the ruby-growl gem, but it still doesn't work. any hint welcome! best regards Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070820/efceb711/attachment.html From alexey.verkhovsky at gmail.com Mon Aug 20 16:06:36 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Mon, 20 Aug 2007 14:06:36 -0600 Subject: [Cruisecontrolrb-users] Integrating Flash AsUnit with cruisecontrol.rb In-Reply-To: References: Message-ID: <3945c4270708201306y3c76410bl51a53e5891f8543c@mail.gmail.com> On 8/20/07, Jonathan Marston wrote: > I would like to integrate my AsUnit results with the rest of the project. Unlike CruiseControl the Original, CC.rb doesn't perform any transformation of build artifacts. If you put an XML file into CC_BUILD_ARTIFACTS, XML file is what you see in the browser. If your testing library can be told to produce HTML, that's an easy way to go. Otherwise, you'll need to transform that XML file to HTML in the build, and then place the result in CC_BUILD_ARTIFACTS.. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From marstonstudio at gmail.com Tue Aug 21 09:30:47 2007 From: marstonstudio at gmail.com (Jonathan Marston) Date: Tue, 21 Aug 2007 09:30:47 -0400 Subject: [Cruisecontrolrb-users] Integrating Flash AsUnit with cruisecontrol.rb In-Reply-To: References: Message-ID: <30c8d6a50708210630t19c503b2lcd57dd674e5ea11e@mail.gmail.com> The big question is whether or not crusiecontrol.rb has functionality equivalent to the merge module *http://cruisecontrol.sourceforge.net/main/configxml.html#merge* I want to fully integrate my tests into the results, not just link to a report jon marston On 8/20/07, Rolf Russell wrote: > > > Hi Jonathan, > > Yup, you should just move your test results to the CC_BUILD_ARTIFACTS > directory. Since xml is difficult to read I would recommend using any > commandline output of asunit instead of the xml output. > > --Rolf > > > > > > *Jonathan Marston * > Sent by: cruisecontrolrb-users-bounces at rubyforge.org > > 08/20/2007 11:05 AM > To > cruisecontrolrb-users at rubyforge.org cc > > Subject > [Cruisecontrolrb-users] Integrating Flash AsUnit with > cruisecontrol.rb > > > > > > > Hello, > > I am a Flash Developer on a Ruby on Rails project which is using > cruiscontrol.rb. I have built a test harness using AsUnit (* > http://asunit.org* ) which produces a results.xml file > which is in the junit results format. Here is sample output.d > > > > failures="1" tests="8" time="8.002"> > > Reference runtime test error > > > Reference assertion test > failure > > > > > I would like to integrate my AsUnit results with the rest of the project. > What is the best way to do that? Should I just a script put my results.xmlfile in the CC_BUILD_ARTIFACTS directory? > > It looks like CruiseControl 2.7 has a merge property which can be used to > merge any junit results into the main build results file > *http://cruisecontrol.sourceforge.net/main/configxml.html#merge* > Does cruisecontrol.rb have similar functionality? > > Jonathan Marston > > *Marston Development Studio LLC* > *email*: *jon at marstonstudio.com* > *phone*: (978) 758-7444 > *im*: marstonstudio (gtalk/yahoo/aol) > *blog*: marstonstudio.com > > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070821/3b768c38/attachment.html From thibaut.barrere at gmail.com Thu Aug 23 10:57:45 2007 From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=) Date: Thu, 23 Aug 2007 16:57:45 +0200 Subject: [Cruisecontrolrb-users] Growl notifier does not appear in the registered applications list - anything to do ? In-Reply-To: <4a68b8cf0708201159u6129d0d9r7054b3bd671f57d6@mail.gmail.com> References: <4a68b8cf0708201159u6129d0d9r7054b3bd671f57d6@mail.gmail.com> Message-ID: <4a68b8cf0708230757q20a7ff49s85686543a46fe188@mail.gmail.com> Hi > I can't get the growl notification (0.7.6) to work (both from the cc server and from a remote machine). I answer myself in case it's useful to someone else: - there is no need to install ruby-growl because it's already packaged in the growl-notifier plugin (sweet) - on both the CI machine and the workstations, it seems required to enable "listen for incoming notifications" (growl preferences, network tab) permanently, and "Allow remote application registration" temporarily, until you get a first CruiseControl.rb notification. One (slightly) disconcerting behaviour during testing is that notifications only occurs when the build status changes (fully makes sense once everything is working though). hope this helps! -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070823/7b2df0b4/attachment.html From alexey.verkhovsky at gmail.com Thu Aug 23 17:08:10 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Thu, 23 Aug 2007 15:08:10 -0600 Subject: [Cruisecontrolrb-users] Growl notifier does not appear in the registered applications list - anything to do ? In-Reply-To: <4a68b8cf0708230757q20a7ff49s85686543a46fe188@mail.gmail.com> References: <4a68b8cf0708201159u6129d0d9r7054b3bd671f57d6@mail.gmail.com> <4a68b8cf0708230757q20a7ff49s85686543a46fe188@mail.gmail.com> Message-ID: <3945c4270708231408v7f0ceb86v3bef1be34b1b0180@mail.gmail.com> On 8/23/07, Thibaut Barr?re wrote: > I answer myself in case it's useful to someone else: > - there is no need to install ruby-growl because it's already packaged in > the growl-notifier plugin (sweet) > - on both the CI machine and the workstations, it seems required to enable > "listen for incoming notifications" (growl preferences, network tab) > permanently, and "Allow remote application registration" temporarily, until > you get a first CruiseControl.rb notification. Thanks. I'm not a Mac user, so cannot properly handle it myself, but a patch to the plugin documentation would be most welcome. Documentation for this plugin is generated from ./builder_plugins/available/growl_notifier/README file, and it's in Textile markup (http://hobix.com/textile/). -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From Gregg at RailsEnvy.com Tue Aug 28 18:02:58 2007 From: Gregg at RailsEnvy.com (Gregg Pollack) Date: Tue, 28 Aug 2007 18:02:58 -0400 Subject: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp Message-ID: <8ddc51e10708281502h6f36b24fpd68813b850d348fb@mail.gmail.com> Two quick questions, if any of you can help out. 1. What's the easiest way to tell Cruise Control to run "rake spec" instead of "rake test" at the end of a build? You'd think this would be easy, but I can't find any documentation on how to do this. I know I can create my own cruise task, but I've tried and failed. Perhaps I need a better example? 2. When I try to add email notification I get: 454 4.3.3 TLS not available after start at /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response' I did configure the smtp server to point to localhost, and changed the domain / from address. My Rails apps run great with these same settings, so I'm not sure what's going on. Thanks in advance, -Gregg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070828/450282be/attachment.html From cch1 at hapgoods.com Tue Aug 28 20:08:55 2007 From: cch1 at hapgoods.com (Chris Hapgood) Date: Tue, 28 Aug 2007 20:08:55 -0400 Subject: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp In-Reply-To: <8ddc51e10708281502h6f36b24fpd68813b850d348fb@mail.gmail.com> References: <8ddc51e10708281502h6f36b24fpd68813b850d348fb@mail.gmail.com> Message-ID: <042b01c7e9d0$ca3c7e60$6601a8c0@hapgoods.com> Greg, I've been very successful creating an executable file named 'build' in the project directory with contents like this: RAILS_ENV=test rake log:clear mongrel_rails cluster::restart rake test The email problem looks like your mail server is requiring an encrypted (SSL/TLS) connection and ActionMailer doesn't support them. Given that you didn't have this problem with your rails app, I'm guessing that your CC host is different from your Rails app server and is treated differently by your mail server. Chris Hapgood Phone: +1 434 989 8584 Skype: chris.hapgood Email: cch1 at hapgoods.com _____ From: cruisecontrolrb-users-bounces at rubyforge.org [mailto:cruisecontrolrb-users-bounces at rubyforge.org] On Behalf Of Gregg Pollack Sent: Tuesday, August 28, 2007 18:03 To: cruisecontrolrb-users at rubyforge.org Subject: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp Two quick questions, if any of you can help out. 1. What's the easiest way to tell Cruise Control to run "rake spec" instead of "rake test" at the end of a build? You'd think this would be easy, but I can't find any documentation on how to do this. I know I can create my own cruise task, but I've tried and failed. Perhaps I need a better example? 2. When I try to add email notification I get: 454 4.3.3 TLS not available after start at /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response' I did configure the smtp server to point to localhost, and changed the domain / from address. My Rails apps run great with these same settings, so I'm not sure what's going on. Thanks in advance, -Gregg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070828/f5451345/attachment.html From jacob at jacobatzen.dk Wed Aug 29 03:16:17 2007 From: jacob at jacobatzen.dk (Jacob Atzen) Date: Wed, 29 Aug 2007 09:16:17 +0200 Subject: [Cruisecontrolrb-users] Invoking builder on commit Message-ID: <46D51D41.1030503@jacobatzen.dk> Hey list, I was wondering if there is some way to invoke the builder when a commit to the repository happens. It seems rather wasteful to me to have a builder polling the repository regularly when there might be months between commits. This should be easy to implement on the Subversion end of things through a post-commit hook, but is it possible with Cruisecontrol.rb? -- Cheers, - Jacob Atzen From epugh at opensourceconnections.com Wed Aug 29 09:08:26 2007 From: epugh at opensourceconnections.com (Eric Pugh) Date: Wed, 29 Aug 2007 09:08:26 -0400 Subject: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp In-Reply-To: <042b01c7e9d0$ca3c7e60$6601a8c0@hapgoods.com> References: <8ddc51e10708281502h6f36b24fpd68813b850d348fb@mail.gmail.com> <042b01c7e9d0$ca3c7e60$6601a8c0@hapgoods.com> Message-ID: <3521F9B0-5B7E-4EE7-A727-17BB76E5B6BF@opensourceconnections.com> I didn't realize that "build" is one of the built in magic files? Or, are you telling CC.rb to run a "build.sh" type shell script that then fires up everything? I have one of a couple different projects that always runs as "development", not "test", and I can't figure out why! The others all run in "test" mode just fine! In so far as trying to get your specs run, I have a cc.rb in my ./lib/ tasks folder: desc "Run by CC.rb" task :cruise => [:test,:spec] Works great! Eric Pugh On Aug 28, 2007, at 8:08 PM, Chris Hapgood wrote: > Greg, > I've been very successful creating an executable file named 'build' > in the project directory with contents like this: > > RAILS_ENV=test > rake log:clear > mongrel_rails cluster::restart > rake test > > The email problem looks like your mail server is requiring an > encrypted (SSL/TLS) connection and ActionMailer doesn't support > them. Given that you didn't have this problem with your rails app, > I'm guessing that your CC host is different from your Rails app > server and is treated differently by your mail server. > > > Chris Hapgood > Phone: +1 434 989 8584 > Skype: chris.hapgood > Email: cch1 at hapgoods.com > > > From: cruisecontrolrb-users-bounces at rubyforge.org > [mailto:cruisecontrolrb-users-bounces at rubyforge.org] On Behalf Of > Gregg Pollack > Sent: Tuesday, August 28, 2007 18:03 > To: cruisecontrolrb-users at rubyforge.org > Subject: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp > > Two quick questions, if any of you can help out. > > 1. What's the easiest way to tell Cruise Control to run "rake spec" > instead of "rake test" at the end of a build? You'd think this > would be easy, but I can't find any documentation on how to do this. > > I know I can create my own cruise task, but I've tried and failed. > Perhaps I need a better example? > > 2. When I try to add email notification I get: > > 454 4.3.3 TLS not available after start at /usr/lib/ruby/1.8/ > net/smtp.rb:680:in `check_response' > > I did configure the smtp server to point to localhost, and > changed the domain / from address. My Rails apps run great with > these same settings, so I'm not sure what's going on. > > Thanks in advance, > > -Gregg > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users ----------------------------------------------------- Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070829/937d0284/attachment.html From cch1 at hapgoods.com Wed Aug 29 09:23:52 2007 From: cch1 at hapgoods.com (Chris Hapgood) Date: Wed, 29 Aug 2007 09:23:52 -0400 Subject: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp In-Reply-To: <3521F9B0-5B7E-4EE7-A727-17BB76E5B6BF@opensourceconnections.com> References: <8ddc51e10708281502h6f36b24fpd68813b850d348fb@mail.gmail.com> <042b01c7e9d0$ca3c7e60$6601a8c0@hapgoods.com> <3521F9B0-5B7E-4EE7-A727-17BB76E5B6BF@opensourceconnections.com> Message-ID: <048b01c7ea3f$d7947b20$6601a8c0@hapgoods.com> Whoops. Eric is right: 'build' is not a magic file and I left out an important configuration step to tell CC to use my custom 'build' script. The configuration is done in the ../projects//cruise_config.rb file. Here is the content of that file for my projects: Project.configure do |project| project.build_command = '../build' project.email_notifier.emails = ['cch1 at hapgoods.com','john at memoryminer.com','nbadino at gmail.com'] end Sorry about that! Chris Hapgood Phone: +1 434 989 8584 Skype: chris.hapgood Email: cch1 at hapgoods.com _____ From: Eric Pugh [mailto:epugh at opensourceconnections.com] Sent: Wednesday, August 29, 2007 09:08 To: Chris Hapgood Cc: 'Gregg Pollack'; cruisecontrolrb-users at rubyforge.org Subject: Re: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp I didn't realize that "build" is one of the built in magic files? Or, are you telling CC.rb to run a "build.sh" type shell script that then fires up everything? I have one of a couple different projects that always runs as "development", not "test", and I can't figure out why! The others all run in "test" mode just fine! In so far as trying to get your specs run, I have a cc.rb in my ./lib/tasks folder: desc "Run by CC.rb" task :cruise => [:test,:spec] Works great! Eric Pugh On Aug 28, 2007, at 8:08 PM, Chris Hapgood wrote: Greg, I've been very successful creating an executable file named 'build' in the project directory with contents like this: RAILS_ENV=test rake log:clear mongrel_rails cluster::restart rake test The email problem looks like your mail server is requiring an encrypted (SSL/TLS) connection and ActionMailer doesn't support them. Given that you didn't have this problem with your rails app, I'm guessing that your CC host is different from your Rails app server and is treated differently by your mail server. Chris Hapgood Phone: +1 434 989 8584 Skype: chris.hapgood Email: cch1 at hapgoods.com _____ From: cruisecontrolrb-users-bounces at rubyforge.org [mailto:cruisecontrolrb-users-bounces at rubyforge.org] On Behalf Of Gregg Pollack Sent: Tuesday, August 28, 2007 18:03 To: cruisecontrolrb-users at rubyforge.org Subject: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp Two quick questions, if any of you can help out. 1. What's the easiest way to tell Cruise Control to run "rake spec" instead of "rake test" at the end of a build? You'd think this would be easy, but I can't find any documentation on how to do this. I know I can create my own cruise task, but I've tried and failed. Perhaps I need a better example? 2. When I try to add email notification I get: 454 4.3.3 TLS not available after start at /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response' I did configure the smtp server to point to localhost, and changed the domain / from address. My Rails apps run great with these same settings, so I'm not sure what's going on. Thanks in advance, -Gregg _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users ----------------------------------------------------- Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070829/7051a808/attachment-0001.html From thibaut.barrere at gmail.com Wed Aug 29 10:22:35 2007 From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=) Date: Wed, 29 Aug 2007 16:22:35 +0200 Subject: [Cruisecontrolrb-users] Using RSpec & Troubleshooting smtp In-Reply-To: <048b01c7ea3f$d7947b20$6601a8c0@hapgoods.com> References: <8ddc51e10708281502h6f36b24fpd68813b850d348fb@mail.gmail.com> <042b01c7e9d0$ca3c7e60$6601a8c0@hapgoods.com> <3521F9B0-5B7E-4EE7-A727-17BB76E5B6BF@opensourceconnections.com> <048b01c7ea3f$d7947b20$6601a8c0@hapgoods.com> Message-ID: <4a68b8cf0708290722n5b3dcbeds72ae2e50142c2890@mail.gmail.com> > > Whoops. Eric is right: 'build' is not a magic file and I left out an > important configuration step to tell CC to use my custom 'build' script. > The configuration is done in the ../projects//cruise_config.rb > file. Here is the content of that file for my projects: > One important caveat (although I remember it was stated in the release notes): by default for custom command like calling a "build.rb" (this is what I do also, very convenient!), RAILS_ENV is set to production, so explicitely setting it to test or development is required (as advertised by Chris sooner in this thread). cheers -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070829/df77219b/attachment.html From ttrout at stormfish.net Wed Aug 29 21:17:10 2007 From: ttrout at stormfish.net (ttrout at stormfish.net) Date: Wed, 29 Aug 2007 21:17:10 -0400 (EDT) Subject: [Cruisecontrolrb-users] Problems getting CC.rb running as daemon Message-ID: <48286.72.4.203.55.1188436630.squirrel@stormfish.net> Hi, I'm hitting a brick wall getting the CC.rb daemon mode working. I couldn't find any discussions in the archives regarding this, but point me in the right place if I missed it. I've got CC.rb working fine from ./cruise start. However, when I try to run it as a daemon I get: => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3333 ./script/../config/../vendor/rails/activesupport/lib/active_support/inflector.rb:250: command not found: mongrel_rails start -p 3333 -a 0.0.0.0 -e production -P script/../config/../tmp/pids/mongrel.pid -d I have mongrel 1.0.1 installed. Mongrel rails is sitting at /usr/bin/mongrel_rails. I can't figure out why it isn't found by the script. I added a command like: puts "Path = #{ENV['PATH']}" in the cruise loader script, and it showed that /usr/bin is in the path. No logs are generated. Tried ./cruise start -d --trace but didn't get anything more from that. If anyone can suggest something I'd be grateful. Thanks, Theron From alexey.verkhovsky at gmail.com Wed Aug 29 22:04:37 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 29 Aug 2007 20:04:37 -0600 Subject: [Cruisecontrolrb-users] Problems getting CC.rb running as daemon In-Reply-To: <3945c4270708291904l3d923e24rd16aaa27f9272374@mail.gmail.com> References: <48286.72.4.203.55.1188436630.squirrel@stormfish.net> <3945c4270708291904l3d923e24rd16aaa27f9272374@mail.gmail.com> Message-ID: <3945c4270708291904u1252b18fq4a1e5793b5d1bbba@mail.gmail.com> Hi, On 8/29/07, ttrout at stormfish.net wrote: > couldn't find any discussions in the archives regarding this, but point me > in the right place if I missed it. Hmm... As lame as it sounds, 'cruise start -d' works for [almost?] everybody else. Certainly does for me :) > If anyone can suggest something I'd be grateful. If you look inside [cruise]/cruise, it simply removes the word 'start' from the ARGV list and load script/server. So, the next question would be: what happens if you run 'script/server -d' instead of './cruise start -d'? It should really be the same thing. On another level of discussion, 'cruise start -d' is a half-hearted option, anyway. Two reasons: 1. Mongrel isn't very smart about PID files. If it goes down abruptly (e.g., your build box suddenly loses power), it will refuse to come back after reboot, saying 'hey, there is a PID file already there'. 2. Dashboard starts the builders, but doesn't care to keep them alive. So, when a builder dies, it remains dead until somebody spots it and hits the "build now" button. So, a more robust setup would be to run the dashboard process as 'cruise start --without-builders' from either runit or /etc/inittab, or Ubuntu's upstart (/etc/event.d/), neither of which needs a service process to fork out. And run each builder as a separate service: 'cruise build MyProject'. And perhaps have some health checking daemon (e.g., monit) supervising the whole thing. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From ttrout at stormfish.net Thu Aug 30 10:41:34 2007 From: ttrout at stormfish.net (Theron Trout) Date: Thu, 30 Aug 2007 10:41:34 -0400 Subject: [Cruisecontrolrb-users] Problems getting CC.rb running as daemon In-Reply-To: <3945c4270708291904u1252b18fq4a1e5793b5d1bbba@mail.gmail.com> References: <48286.72.4.203.55.1188436630.squirrel@stormfish.net> <3945c4270708291904l3d923e24rd16aaa27f9272374@mail.gmail.com> <3945c4270708291904u1252b18fq4a1e5793b5d1bbba@mail.gmail.com> Message-ID: <46D6D71E.90401@stormfish.net> Hi Alexey, Thanks for the detailed reply. You pointed out some good alternatives which I wouldn't have considered. I may have to try your suggest #2 as it sounds promising. I should have mentioned that I'm running on an AMD64 with Ubuntu. Are there any known issues with CC.rb on 64 archs? Alexey Verkhovsky wrote: > Hi, > > On 8/29/07, ttrout at stormfish.net wrote: > > If you look inside [cruise]/cruise, it simply removes the word 'start' > from the ARGV list and load script/server. So, the next question would > be: what happens if you run 'script/server -d' instead of './cruise > start -d'? It should really be the same thing. > I get the same result from the daemon and from 'scrip/server -d'. At least it's consistent. Looking at the original message I thought it was odd that the inflector.rb class was identified as the error line. In one regard it makes sense, but it is possible that something isn't quite right there. > 1. Mongrel isn't very smart about PID files. If it goes down abruptly > (e.g., your build box suddenly loses power), it will refuse to come > back after reboot, saying 'hey, there is a PID file already there'. > I'll check for any stragglers. > 2. Dashboard starts the builders, but doesn't care to keep them alive. > So, when a builder dies, it remains dead until somebody spots it and > hits the "build now" button. I'll give both of your suggestions a try and post the results. Thanks, Theron From alexey.verkhovsky at gmail.com Thu Aug 30 13:15:17 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Thu, 30 Aug 2007 11:15:17 -0600 Subject: [Cruisecontrolrb-users] Problems getting CC.rb running as daemon In-Reply-To: <3945c4270708301014g3cf3f3d4u816bf208bf89abf7@mail.gmail.com> References: <48286.72.4.203.55.1188436630.squirrel@stormfish.net> <3945c4270708291904l3d923e24rd16aaa27f9272374@mail.gmail.com> <3945c4270708291904u1252b18fq4a1e5793b5d1bbba@mail.gmail.com> <46D6D71E.90401@stormfish.net> <3945c4270708301014g3cf3f3d4u816bf208bf89abf7@mail.gmail.com> Message-ID: <3945c4270708301015t41e5caev551493868f600bbc@mail.gmail.com> On 8/30/07, Theron Trout wrote: > Are there any known issues with CC.rb on 64 archs? None, it's pure Ruby. > I get the same result from the daemon and from 'scrip/server -d'. And what happens if you generate a skeleton Rails app and run that with 'script/server -d'? -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com]