From sean at dague.net Fri Feb 12 15:31:30 2010 From: sean at dague.net (Sean Dague) Date: Fri, 12 Feb 2010 15:31:30 -0500 Subject: [Cruisecontrolrb-users] clean builds with git? Message-ID: <4B75BAA2.4020809@dague.net> I'm new with cruisecontrol.rb, and just started working with it with git repos. In standard configuration, all is great. But I found that when I wanted to enable clean builds it broke down. I set: project.do_clean_checkout :always In my project stanza as well as, project.source_control = SourceControl::Git.new( :repository => "git://.....", :branch => "master") And the net result was the work directory was deleted, then the ccrb started complaining there was no work directory (on the console)... and things were no good until I removed the do_clean_checkout stanza and manually recloned the git tree. This is under cc.rb 1.4.0. Any help here would be appreciated. I'd love to force clean checkouts for all these builds. -Sean -- __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: From thewoolleyman at gmail.com Sat Feb 13 00:13:17 2010 From: thewoolleyman at gmail.com (Chad Woolley) Date: Fri, 12 Feb 2010 22:13:17 -0700 Subject: [Cruisecontrolrb-users] clean builds with git? In-Reply-To: <4B75BAA2.4020809@dague.net> References: <4B75BAA2.4020809@dague.net> Message-ID: On Fri, Feb 12, 2010 at 1:31 PM, Sean Dague wrote: > I set: > > ?project.do_clean_checkout :always > > In my project stanza as well as, > > ?project.source_control = SourceControl::Git.new( > ? ? ? ?:repository => "git://.....", > ? ? ? ?:branch => "master") > > And the net result was the work directory was deleted, then the ccrb > started complaining there was no work directory (on the console)... and > things were no good until I removed the do_clean_checkout stanza and > manually recloned the git tree. > > This is under cc.rb 1.4.0. > > Any help here would be appreciated. ?I'd love to force clean checkouts > for all these builds. I''m pretty sure the Git support always does a clean checkout by default (automatically resets to head). You may have uncovered a bug, maybe nobody every tried turning that option on for Git. Please open a ticket in Lighthouse and we'll look into it. Or feel free to submit a patch ;) -- Chad From amitkkulkarni.84 at gmail.com Tue Feb 23 02:45:44 2010 From: amitkkulkarni.84 at gmail.com (Amit Kulkarni) Date: Tue, 23 Feb 2010 13:15:44 +0530 Subject: [Cruisecontrolrb-users] Mail configuration in cruise control Message-ID: <44f45321002222345x3d761929j4ca2793a64fdea20@mail.gmail.com> Hello all, I have successfully setup the project application and everything is working fine.I also get mail when build is failed and when it is success. Now is it possible to send mail if once the build is success often similar to what we get when build is failed This is the scenario: 1: Started the build and it failed -- Mail is sent. 2: Fixed the issue and again started the build and it succeeded -- Mail is sent 3: Now again run the build and it is again succeeded. -- Now mail is not sent.Now i want the mail to get received.Is there a way to do it. The main intension behind this once the build is successful mail should be sent every often so that everyone in the team knows regarding the success and successfully running of specs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexey.verkhovsky at gmail.com Tue Feb 23 16:16:53 2010 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Tue, 23 Feb 2010 14:16:53 -0700 Subject: [Cruisecontrolrb-users] Mail configuration in cruise control In-Reply-To: <44f45321002222345x3d761929j4ca2793a64fdea20@mail.gmail.com> References: <44f45321002222345x3d761929j4ca2793a64fdea20@mail.gmail.com> Message-ID: <3945c4271002231316k69f77749i49550f8bc5bd4102@mail.gmail.com> I wouldn't nag people with notices of successful builds, but if you really want to do that, change code in EmailNotifier#build_finished to do that. -- Alexey Verkhovsky http://alex-verkhovsky.blogspot.com/ CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] -------------- next part -------------- An HTML attachment was scrubbed... URL: From amitkkulkarni.84 at gmail.com Thu Feb 25 05:09:30 2010 From: amitkkulkarni.84 at gmail.com (Amit Kulkarni) Date: Thu, 25 Feb 2010 15:39:30 +0530 Subject: [Cruisecontrolrb-users] Mail configuration in cruise control In-Reply-To: <3945c4271002231316k69f77749i49550f8bc5bd4102@mail.gmail.com> References: <44f45321002222345x3d761929j4ca2793a64fdea20@mail.gmail.com> <3945c4271002231316k69f77749i49550f8bc5bd4102@mail.gmail.com> Message-ID: <44f45321002250209o4c336284l7aebe5cd1023fcfd@mail.gmail.com> Thanks a lot.But i am not seeing any file as Email Notifier in the cruise control.Is the code for sucess mail written in other file like "successful_build_trigger.rb". On Wed, Feb 24, 2010 at 2:46 AM, Alexey Verkhovsky < alexey.verkhovsky at gmail.com> wrote: > I wouldn't nag people with notices of successful builds, but if you really > want to do that, change code in EmailNotifier#build_finished to do that. > > -- > Alexey Verkhovsky > http://alex-verkhovsky.blogspot.com/ > CruiseControl.rb [http://cruisecontrolrb.thoughtworks.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: