Nick.Adamson at generaldynamics.uk.com
2009-Nov-17 14:42 UTC
[Cruisecontrolrb-users] How to do a clean check out.
Hi All. Second and last question from me for at least 5 minutes. I''m trying to get CruiseControl to do a clean check out from SVN every time it does a build. I''ve read the section in the documentation regarding this however when ever I add the following line to my RB script for the project I get errors when trying to view the HTTP server. The line I''m adding: project.do_clean_checkout :always The error I get is: There has been a problem, we''ve been notified about it ...... Any ideas where I''m going wrong? Thanks. Nick. Nick Adamson Software Engineer General Dynamics United Kingdom Limited Bryn Brithdir, Oakdale Business Park, Blackwood, South Wales, NP12 4AA Telephone: +44 (0)1495 23 6467 Email: Nick.Adamson at generaldynamics.uk.com Website: www.generaldynamics.uk.com <http://www.generaldynamics.uk.com/> To help reduce waste paper, please only print this email if you really need to. This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20091117/ba2bf566/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2071 bytes Desc: Signature.gif URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20091117/ba2bf566/attachment-0001.gif>
On Tue, Nov 17, 2009 at 7:42 AM, <Nick.Adamson at generaldynamics.uk.com>wrote:> Any ideas where I''m going wrong? > >Check CCRBs SVN working copy. DO you have files which were modified by your build which have merge conflicts? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20091117/dddeb7ba/attachment.html>
Nick.Adamson at generaldynamics.uk.com
2009-Nov-18 18:36 UTC
[Cruisecontrolrb-users] How to do a clean check out.
Hi Chad. Having looked in to this further what appears to be happening is that the project/work folder is being deleted and then CC isn''t able to work out where it should be checking stuff out from. Below are the log messages. Any ideas? This log was generated by: Stopping CC, Making sure the ATIS-windows/work folder was there and was at revision 2473. Starting CC. Thanks. Nick. [info] [2009-11-18 16:52:06] Builder for project ''ATIS-Windows'' started [info] [2009-11-18 17:39:48] New revision 2474 detected [error] Repository location is not specified [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../lib/source_control/subversion.rb:35:in `checkout'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../lib/source_control/abstract_adapter.rb:30:in `clean_checkout'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:277:in `update_project_to_revision'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:274:in `open'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:274:in `update_project_to_revision'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:303:in `build_without_serialization'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:289:in `build'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:213:in `build_if_necessary'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/polling_scheduler.rb:13:in `run'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/builder:79 [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/builder:78:in `catch'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/builder:78 [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/init.r b:47:in `load'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/init.r b:47:in `builder'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/init.r b:10:in `send'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/init.r b:10:in `run'' [error] ./lib/cruise_control/../../script/../config/../cruise:5 [error] No such file or directory - C:/builds/projects/ATIS-Windows/work [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../lib/source_control/abstract_adapter.rb:51:in `chdir'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../lib/source_control/abstract_adapter.rb:51:in `execute_in_local_copy'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../lib/source_control/subversion.rb:127:in `svn'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../lib/source_control/subversion.rb:111:in `log'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../lib/source_control/subversion.rb:59:in `latest_revision'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../lib/source_control/subversion.rb:66:in `up_to_date?'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/change_in_source_control_trigger.rb:11:in `build_necessary?'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:234:in `build_necessary?'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:221:in `any?'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:234:in `each'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:234:in `any?'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:234:in `build_necessary?'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/project.rb:211:in `build_if_necessary'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/../config/../app/models/polling_scheduler.rb:13:in `run'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/builder:79 [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/builder:78:in `catch'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../ script/builder:78 [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/init.r b:47:in `load'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/init.r b:47:in `builder'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/init.r b:10:in `send'' [error] ./lib/cruise_control/../../script/../config/../lib/cruise_control/init.r b:10:in `run'' [error] ./lib/cruise_control/../../script/../config/../cruise:5 -----Original Message----- From: cruisecontrolrb-users-bounces at rubyforge.org [mailto:cruisecontrolrb-users-bounces at rubyforge.org] On Behalf Of Chad Woolley Sent: 17 November 2009 15:13 To: cruisecontrolrb-users at rubyforge.org Subject: Re: [Cruisecontrolrb-users] How to do a clean check out. On Tue, Nov 17, 2009 at 7:42 AM, <Nick.Adamson at generaldynamics.uk.com> wrote: Any ideas where I''m going wrong? Check CCRBs SVN working copy. DO you have files which were modified by your build which have merge conflicts? This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.
On Wed, Nov 18, 2009 at 11:36 AM, <Nick.Adamson at generaldynamics.uk.com> wrote:> Below are the log messages. Any ideas?Find out what is deleting it and stop it. :)
Nick.Adamson at generaldynamics.uk.com
2009-Nov-19 10:47 UTC
[Cruisecontrolrb-users] How to do a clean check out.
Hi Chad. Nothing out side of CC is modifying that folder. Its CC that''s deleting it, I guess as the first step of the clean checkout code. Thanks. Nick. -----Original Message----- From: cruisecontrolrb-users-bounces at rubyforge.org [mailto:cruisecontrolrb-users-bounces at rubyforge.org] On Behalf Of Chad Woolley Sent: 18 November 2009 20:43 To: cruisecontrolrb-users at rubyforge.org Subject: Re: [Cruisecontrolrb-users] How to do a clean check out. On Wed, Nov 18, 2009 at 11:36 AM, <Nick.Adamson at generaldynamics.uk.com> wrote:> Below are the log messages. Any ideas?Find out what is deleting it and stop it. :) _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.