From deanholdren at gmail.com Mon Oct 1 10:42:54 2007 From: deanholdren at gmail.com (Dean Holdren) Date: Mon, 1 Oct 2007 10:42:54 -0400 Subject: [Cruisecontrolrb-users] RubyOnRails demo build, and rails_build.rb Message-ID: <5c3747bf0710010742k3b5fcf0ev887e8095739f0360@mail.gmail.com> I was looking at the demo for building rails: http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails I see the project setting have a custom build command: Project.configure do |project| project.build_command = 'ruby ../rails_build.rb' what are the contents of rails_build.rb? I'm trying to get an idea of how custom build commands look, and this would be a good example. From alexey.verkhovsky at gmail.com Mon Oct 1 12:20:33 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Mon, 1 Oct 2007 18:20:33 +0200 Subject: [Cruisecontrolrb-users] RubyOnRails demo build, and rails_build.rb In-Reply-To: <5c3747bf0710010742k3b5fcf0ev887e8095739f0360@mail.gmail.com> References: <5c3747bf0710010742k3b5fcf0ev887e8095739f0360@mail.gmail.com> Message-ID: <3945c4270710010920p58a5af02i12af18cca7a01412@mail.gmail.com> On 10/1/07, Dean Holdren wrote: > what are the contents of rails_build.rb? http://pastie.caboo.se/102535 -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From john at digitalpulp.com Tue Oct 9 12:37:14 2007 From: john at digitalpulp.com (John Bachir) Date: Tue, 9 Oct 2007 12:37:14 -0400 Subject: [Cruisecontrolrb-users] CC config options, and custom migration command Message-ID: <057CA6B0-1280-40C9-B0CB-984699D52F9D@digitalpulp.com> Hi folks. [1] The documentation mentions a few config settings. Is this a comprehensive list of what configurations are available? http://cruisecontrolrb.thoughtworks.com/documentation/manual [2] In particular, I would like to use a custom migration command, similar to project.rake_task. This blog post seems to suggest that a custom cruise task can be made which includes the migrate command http://www.elevatedrails.com/articles/2007/05/05/ci-with- cruisecontrolrb/ If the cruise task is present, does CC.rb skip doing it's "normal" migration? Thanks for any insights or pointers to more documentation. John From alexey.verkhovsky at gmail.com Tue Oct 9 21:40:14 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Tue, 9 Oct 2007 19:40:14 -0600 Subject: [Cruisecontrolrb-users] CC config options, and custom migration command In-Reply-To: <057CA6B0-1280-40C9-B0CB-984699D52F9D@digitalpulp.com> References: <057CA6B0-1280-40C9-B0CB-984699D52F9D@digitalpulp.com> Message-ID: <3945c4270710091840l229e93f1u77f089952b3d146e@mail.gmail.com> On 10/9/07, John Bachir wrote: > [1] The documentation mentions a few config settings. Is this a > comprehensive list of what configurations are available? It is. > If the cruise task is present, does CC.rb skip doing it's "normal" > migration? No. You should make your cruise task dependent on your custom migration task. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From abublic at gmail.com Thu Oct 11 14:25:25 2007 From: abublic at gmail.com (Artem) Date: Thu, 11 Oct 2007 22:25:25 +0400 Subject: [Cruisecontrolrb-users] cc.rb @ fisheye Message-ID: <1992750901.20071011222525@gmail.com> Hi folks! I've asked FishEye to add cc.rb some time ago, and they did it. http://fisheye3.cenqua.com/browse/cruisecontrolrb At least it can be useful as an RSS feed to changes in code repository. -- Best regards, Artem mailto:abublic at gmail.com From christoph.benjamin at googlemail.com Tue Oct 16 09:23:00 2007 From: christoph.benjamin at googlemail.com (Christoph Benjamin) Date: Tue, 16 Oct 2007 15:23:00 +0200 Subject: [Cruisecontrolrb-users] [Fwd: How? Testing with (Ruby-) Code, that's generated by Selenium IDE] Message-ID: <4714BB34.4070203@googlemail.com> Hello everybody, I'm happy about this mailinglist because I feel like in a dead end. My problem is the following: I have a website, I have CC.rb and I have the Selenium PlugIn for the Firefox Browser. My idea is now to create test cases with the Selenium IDE. The Code you get is for example in Ruby. Now: Is it posible to copy this code in a seperate file and run this test with CC.rb? Btw: It must not be a seperate file; it will be good too, when I can put my code in the generated files in the directory work/test/unit/. I hope someone can help me or give me a hint... Greets, Chris From ingo at ingoweiss.com Wed Oct 24 12:56:09 2007 From: ingo at ingoweiss.com (Ingo Weiss) Date: Wed, 24 Oct 2007 18:56:09 +0200 Subject: [Cruisecontrolrb-users] rspec html report and rcov report as build artifacts Message-ID: <514A9913-F479-4CBC-97B3-6B088F0A4A09@ingoweiss.com> Hi all, we are using rspec and would like to make both an rspec html report and an rcov html report available as cc build artifacts. I cobbled something together for the rspec report, but it feels clunky and I am wondering whether anybody has written a plugin or something for this already. Failing that, I am wondering how to tell cc where the build artifacts directory is. Thanks! Ingo From bwnoll at gmail.com Fri Oct 26 13:23:57 2007 From: bwnoll at gmail.com (Bryan Noll) Date: Fri, 26 Oct 2007 10:23:57 -0700 (PDT) Subject: [Cruisecontrolrb-users] Email notifications are beating me... In-Reply-To: <13431560.post@talk.nabble.com> References: <13431560.post@talk.nabble.com> Message-ID: <13431702.post@talk.nabble.com> So I got a little farther. I'm no longer getting the error. Changes I made: originally: :user_name => "my_user_name" now: :user_name => "my_user_name at gmail.com" i'm getting no error now, but I'm also not getting an email at the address I specified in the 'project.email_notifier.emails' property for my project. I've verified there's not a type in the email address I've specified there. Bryan Noll wrote: > > So, I've tried quite a few things, from using my company's internal SMTP > server to using an extra gmail account I have and attempting to use their > server. All of it ends up giving me this plugin error: > > 554 5.7.3 Unable to initialize security subsystem at > /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response' > > Here's my current gmail settings. What am I doing wrong? > > ActionMailer::Base.smtp_settings = { > :address => "smtp.gmail.com", > :port => 587, > :domain => "gmail.com", > :authentication => :plain, > :user_name => "my_user_name", > :password => "my_password" > } > > > > -- View this message in context: http://www.nabble.com/Email-notifications-are-beating-me...-tf4698631.html#a13431702 Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com. From bwnoll at gmail.com Fri Oct 26 13:11:18 2007 From: bwnoll at gmail.com (Bryan Noll) Date: Fri, 26 Oct 2007 10:11:18 -0700 (PDT) Subject: [Cruisecontrolrb-users] Email notifications are beating me... Message-ID: <13431560.post@talk.nabble.com> So, I've tried quite a few things, from using my company's internal SMTP server to using an extra gmail account I have and attempting to use their server. All of it ends up giving me this plugin error: 554 5.7.3 Unable to initialize security subsystem at /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response' Here's my current gmail settings. What am I doing wrong? ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "gmail.com", :authentication => :plain, :user_name => "my_user_name", :password => "my_password" } -- View this message in context: http://www.nabble.com/Email-notifications-are-beating-me...-tf4698631.html#a13431560 Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com. From alexey.verkhovsky at gmail.com Fri Oct 26 13:40:51 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Fri, 26 Oct 2007 11:40:51 -0600 Subject: [Cruisecontrolrb-users] Email notifications are beating me... In-Reply-To: <13431702.post@talk.nabble.com> References: <13431560.post@talk.nabble.com> <13431702.post@talk.nabble.com> Message-ID: <3945c4270710261040l55c785b0raf79b1317016c322@mail.gmail.com> On 10/26/07, Bryan Noll wrote: > i'm getting no error now, but I'm also not getting an email Can it be simply because the build is not failing? If the build IS failing, and you still aren't getting the emails, please run cruise with --trace flag, trigger the build and see what the builder log says (you should see the entire SMTP conversation in it). If that doesn't help, please email me the log. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From bwnoll at gmail.com Fri Oct 26 15:22:31 2007 From: bwnoll at gmail.com (Bryan Noll) Date: Fri, 26 Oct 2007 13:22:31 -0600 Subject: [Cruisecontrolrb-users] Email notifications are beating me... In-Reply-To: <47223E4C.9080602@gmail.com> References: <13431560.post@talk.nabble.com> <13431702.post@talk.nabble.com> <3945c4270710261040l55c785b0raf79b1317016c322@mail.gmail.com> <47223E4C.9080602@gmail.com> Message-ID: <47223E77.5010201@gmail.com> Bryan Noll wrote: > Thanks for taking the time to respond. > > You were right. Somewhere in the middle of dorking with the email > settings, I undid my intentional build failure piece of code... so the > build itself wasn't failing. Now I'm right back to where I was, > getting the "Unable to initialize security subsystem" error. > > I know our smtp server works, because we have an old java version of > CC sending mails through it. Plus, I can't get the gmail one to > work. I'm sure it's probably some configuration issue that's my > fault... I just don't see what it is. > > Alexey Verkhovsky wrote: >> On 10/26/07, Bryan Noll wrote: >> >>> i'm getting no error now, but I'm also not getting an email >>> >> >> Can it be simply because the build is not failing? >> >> If the build IS failing, and you still aren't getting the emails, >> please run cruise with --trace flag, trigger the build and see what >> the builder log says (you should see the entire SMTP conversation in >> it). If that doesn't help, please email me the log. >> >> > From bwnoll at gmail.com Fri Oct 26 15:41:14 2007 From: bwnoll at gmail.com (Bryan Noll) Date: Fri, 26 Oct 2007 12:41:14 -0700 (PDT) Subject: [Cruisecontrolrb-users] Email notifications are beating me... In-Reply-To: <3945c4270710261040l55c785b0raf79b1317016c322@mail.gmail.com> References: <13431560.post@talk.nabble.com> <13431702.post@talk.nabble.com> <3945c4270710261040l55c785b0raf79b1317016c322@mail.gmail.com> Message-ID: <13434132.post@talk.nabble.com> So I must've been fat fingering something earlier... because I got the gmail smtp stuff working with the following. I'm still having issues with our internal smpt server. I'll keep banging on that and report back here if/when I figure it out. Thanks for the help... ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "gmail.com", :authentication => :plain, :user_name => "the_username", :password => "the_password" } -- View this message in context: http://www.nabble.com/Email-notifications-are-beating-me...-tf4698631.html#a13434132 Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com. From bwnoll at gmail.com Fri Oct 26 16:15:12 2007 From: bwnoll at gmail.com (Bryan Noll) Date: Fri, 26 Oct 2007 13:15:12 -0700 (PDT) Subject: [Cruisecontrolrb-users] Email notifications are beating me... In-Reply-To: <3945c4270710261040l55c785b0raf79b1317016c322@mail.gmail.com> References: <13431560.post@talk.nabble.com> <13431702.post@talk.nabble.com> <3945c4270710261040l55c785b0raf79b1317016c322@mail.gmail.com> Message-ID: <13434674.post@talk.nabble.com> OK... so it's working just fine using gmail. Here's the log from when I tried to use our internal smtp server. [error] [2007-10-26 14:08:05] Error sending e-mail - current server settings are : :address = "192.168.XX.YY" :domain = "our_domain.com" [error] 554 5.7.3 Unable to initialize security subsystem [error] /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response' [error] /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok' [error] /home/bnoll/tools/cruisecontrolrb-1.1.0/vendor/plugins/action_mailer_tls/smtp_tls.rb:56:in `starttls' [error] /home/bnoll/tools/cruisecontrolrb-1.1.0/vendor/plugins/action_mailer_tls/smtp_tls.rb:19:in `do_start' [error] /usr/lib/ruby/1.8/net/smtp.rb:378:in `start' [error] /usr/lib/ruby/1.8/net/smtp.rb:316:in `start' [error] ./script/../config/../script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:565:in `perform_delivery_smtp' [error] ./script/../config/../script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:451:in `send' [error] ./script/../config/../script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:451:in `deliver!' [error] ./script/../config/../script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:333:in `method_missing' [error] ./script/../config/../script/../config/../builder_plugins/installed/email_notifier.rb:52:in `send' [error] ./script/../config/../script/../config/../builder_plugins/installed/email_notifier.rb:52:in `email' [error] ./script/../config/../script/../config/../builder_plugins/installed/email_notifier.rb:41:in `build_finished' [error] ./script/../config/../script/../config/../app/models/project.rb:293:in `send' [error] ./script/../config/../script/../config/../app/models/project.rb:293:in `notify' [error] ./script/../config/../script/../config/../app/models/project.rb:291:in `collect' [error] ./script/../config/../script/../config/../app/models/project.rb:291:in `notify' [error] ./script/../config/../script/../config/../app/models/project.rb:276:in `build' [error] ./script/../config/../script/../config/../app/models/project.rb:251:in `build_if_requested' [error] ./script/../config/../script/../config/../app/models/polling_scheduler.rb:27:in `check_build_request_until_next_polling' [error] ./script/../config/../script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/../config/../script/builder:82 [error] ./script/../config/../script/builder:81:in `catch' [error] ./script/../config/../script/builder:81 [error] script/../config/../cruise:14:in `load' [error] script/../config/../cruise:14:in `builder' [error] script/../config/../cruise:66:in `send' [error] script/../config/../cruise:66 [error] Error in plugin EmailNotifier: 554 5.7.3 Unable to initialize security subsystem [error] ./script/../config/../script/../config/../app/models/project.rb:318:in `notify' [error] ./script/../config/../script/../config/../app/models/project.rb:276:in `build' [error] ./script/../config/../script/../config/../app/models/project.rb:251:in `build_if_requested' [error] ./script/../config/../script/../config/../app/models/polling_scheduler.rb:27:in `check_build_request_until_next_polling' [error] ./script/../config/../script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/../config/../script/builder:82 [error] ./script/../config/../script/builder:81:in `catch' [error] ./script/../config/../script/builder:81 [error] script/../config/../cruise:14:in `load' [error] script/../config/../cruise:14:in `builder' [error] script/../config/../cruise:66:in `send' [error] script/../config/../cruise:66 Alexey Verkhovsky-2 wrote: > > If that doesn't help, please email me the log. > > -- > Alexey Verkhovsky > CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] > RubyWorks [http://rubyworks.thoughtworks.com] > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -- View this message in context: http://www.nabble.com/Email-notifications-are-beating-me...-tf4698631.html#a13434674 Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com. From averkhov at thoughtworks.com Fri Oct 26 19:31:05 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Fri, 26 Oct 2007 18:31:05 -0500 Subject: [Cruisecontrolrb-users] Email notifications are beating me... In-Reply-To: <13434674.post@talk.nabble.com> Message-ID: > [error] Error in plugin EmailNotifier: 554 5.7.3 Unable to initialize > security subsystem This is a known problem. Basically, smtp_tls plugin makes it possible for CC.rb to talk to TLS-enabled SMTP servers (like GMail), but unfotunately breaks servers that have no TLS. At the time 1.1 was released, everybody on the dev team was using TLS-enabled servers, and so the bug went unnoticed. Deleting the aforementioned plugin from ./vendor/plugins directory should fix the problem with your local SMTP server (but will break interoperability with GMail). -- Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20071026/069077ab/attachment.html From bwnoll at gmail.com Tue Oct 30 14:07:52 2007 From: bwnoll at gmail.com (Bryan Noll) Date: Tue, 30 Oct 2007 12:07:52 -0600 Subject: [Cruisecontrolrb-users] Email notifications are beating me... In-Reply-To: References: Message-ID: <472772F8.8060305@gmail.com> I appreciate the assistance Alexey. Alexey Verkhovsky wrote: > > > [error] Error in plugin EmailNotifier: 554 5.7.3 Unable to initialize > > security subsystem > > This is a known problem. Basically, smtp_tls plugin makes it possible > for CC.rb to talk to TLS-enabled SMTP servers (like GMail), but > unfotunately breaks servers that have no TLS. At the time 1.1 was > released, everybody on the dev team was using TLS-enabled servers, and > so the bug went unnoticed. > > Deleting the aforementioned plugin from ./vendor/plugins directory > should fix the problem with your local SMTP server (but will break > interoperability with GMail). > > -- > Alex