Picon
Favicon

Long build log files are not displayed

Hi,

I am using CruiseControl which I like very much. One  short defect:

Although I have changed ~/.cruise/config/site_config.rb file to include the following:

Configuration.max_file_display_length = nil

I keep on getting the following message on project build page:

The size of the file you're viewing now is 145 KB, which is too big to display in the dashboard; CC.rb is configured to truncate any files longer than 100 KB. You can override this value in site_config.rb by settingmax_file_display_length to your desired value in bytes (e.g. 50.kilobytes), or nil to allow files of any length.

Any clue?



--
Panayotis Matsinopoulos

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Scott Smith | 23 Sep 23:26
Picon
Gravatar

My continuous integration server is hitting git too hard

We have been rapidly expanding our use of CruiseControl.rb into new projects and new test metaphors:

  • 13 Cruise Control projects, against several repositories on unfuddle, a commercial git host provider.
  • One of the repositories is hit by 6 of the projects.  I.e., every time the repository is updated, 6 cruise control projects simultaneously fetch from the repository.
Needless to say, unfuddle was unhappy with the resulting load and has requested that we "cut it out".

I'd like to continue to run the 6 projects in parallel.  One way to do this would to be have one of the 6 projects do the unfuddle fetch, then have its code set copied to the other 5.

My question is: has anyone else encountered this problem (and, even better yet, solved it)?

Thanks in advance,

Scott Smith - Q/A Software Engineer 

--
Scott Smith

http://twitter.com/_ofd (OldFartDeveloper)
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Stuart Morrison | 11 Jul 16:59
Favicon

Email a build fail to the checkin culprit

Hi

I would like to ask how to configure the email address that will email to me and to the person who has checked in the files that has broken the build.

//Currently the email is fixed in the configfile with me as the sole address
project.email_notifier.emails = ['me-yDNVTeq1BHXhBLt1un8lj9BPR1lH4CV8@public.gmane.org']

Does anybody know how to change the email address dynamically following a build fail from the previous SVN commit.

Any help appreciated

Thanks

 

Rgds

 

Stuart

 

Privacy & Confidentiality Notice

-------------------------------------------------

This message and any attachments contain privileged and confidential information that is intended solely for the person(s) to whom it is addressed. If you are not an intended recipient you must not: read; copy; distribute; discuss; take any action in or make any reliance upon the contents of this message; nor open or read any attachment. If you have received this message in error, please notify us as soon as possible on the following telephone number and destroy this message including any attachments. Thank you.

-------------------------------------------------

Wolfson Microelectronics plc

Tel: +44 (0)131 272 7000

Fax: +44 (0)131 272 7001

Web: www.wolfsonmicro.com

 

Registered in Scotland

 

Company number SC089839

 

Registered office:

 

Westfield House, 26 Westfield Road, Edinburgh, EH11 2QB, UK

 

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Stuart Morrison | 8 Jul 13:49
Favicon

Overriding the default trigger and adding more

Hi

I have setup 3 projects all from the same repository but the point to different level of the repository.  I
would like to trigger a build of the top level of the repository after the detection of a change to any of the
others.  I think this is described in the docs as a quick build triggering a full build.

I have set the following in my cruise_config.rb file

 if(project.name == "myProject")
   project.triggered_by = [SuccessfulBuildTrigger.new(project, "Source")]
   project.triggered_by SuccessfulBuildTrigger.new(project, 'Testbench')
end

I expect the first line to override the default trigger which is any change in myProject.  The second I expect
to add an additional trigger.
This code does not change the default or add another trigger.  (The name is correct)

I have remove the condition statement to:

   project.triggered_by = [SuccessfulBuildTrigger.new(project, "Source")]
   project.triggered_by SuccessfulBuildTrigger.new(project, 'Testbench')

but this now shows "error" below the build button in the dashboard

This code is pretty much straight from the manual so can anybody show me where I am possibly going wrong here?

Thanks

Privacy & Confidentiality Notice
-------------------------------------------------
This message and any attachments contain privileged and confidential information that is intended
solely for the person(s) to whom it is addressed. If you are not an intended recipient you must not: read;
copy; distribute; discuss; take any action in or make any reliance upon the contents of this message; nor
open or read any attachment. If you have received this message in error, please notify us as soon as
possible on the following telephone number and destroy this message including any attachments. Thank you.
-------------------------------------------------
Wolfson Microelectronics plc
Tel: +44 (0)131 272 7000
Fax: +44 (0)131 272 7001
Web: www.wolfsonmicro.com

Registered in Scotland

Company number SC089839

Registered office: 

Westfield House, 26 Westfield Road, Edinburgh, EH11 2QB, UK
Alexy Khrabrov | 27 Jun 23:12
Picon
Gravatar

ccrb's own gemset vs the build's one

We use RVM for gemset management.  The build has its own gemset, say
ree <at> build.  The ccrb was built with ree <at> cruisecontrol, where
cruisecontrol was created specifically for it, switched into, and
filled with bundle install.

When we run our build, it was failing in jasmine, in the part where it
was checking for rspec2.  At the time we had rspec1 and rspec2 both
installed.  We uninstalled rspec 2.6.0 from the gemset build, and it
was still failing.  We then uninstalled rspec 2.6.0 from the gemset
cruisecontrol, and then the build went through.

Our build is not using bundler, but in its own directory we have an
.rvmrc containing the line "ree <at> build".

I wonder how the gemsets for ccrb and build interact -- the worrysome
sign is that rspec gem matters across both.  Would it be limited to
rake and rspec?  How do we know the build gemset is being respected
separately from ccrb's own cruisecontrol gemset?

-- Alexy
Nick.Adamson | 15 Apr 17:47
Favicon

multiple builders, why do they keep stopping.

Hi All.

We've been using CCRB, v 1.4.0, on a project for nearly a year now and
have found it pretty stable however recently we've had some issues.

The project is cross platform so there are multiple builders monitoring
the same subversion path.

When there are just 2 builders this works fine.
We've recently introduced a new platform so have added another project
which monitors the same subversion path. This has caused some stability
issues.
Every so often, seems like every 2 or 3 builds one of the builders will
die for no apparent reason. The dashboard indicates the builder is
stopped and the log doesn't seem to say anything. It seems random which
builder will die out of the 3 that are running.

Has anyone seen anything like this or have any ideas how I can get them
to be stable again.

Switching the builds in to serial rather than parallel isn't an option
as each build can take up to half an hour, some times longer.
Any ideas gratefully received.

Thanks.
Nick.

Nick Adamson
Software Engineer

Advanced Projects and Technologies  

 
Bryn Brithdir, Oakdale Business Park, Blackwood, South Wales, NP12 4AA

Telephone: +44 (0) 1495 236467  
Email: nick.adamson@...
<mailto:nick.adamson@...> 
Website: www.generaldynamics.uk.com <http://www.generaldynamics.uk.com/>

Please consider the environment before printing this email 

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: 21 Holborn Viaduct, London EC1A 2DY. Registered in England and Wales No: 1911653. 
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Ram Kumar Hariharan | 21 Mar 21:15
Picon

Using Cruisecontrol for non-rails projects.

I have got couple of issues wrt to setting up cruisecontrol.rb for my project.

First of all, all the links in http://cruisecontrolrb.thoughtworks.com/ are broken. Can some one fix it?

Secondly, this is the first time I am using cruise control for a non-rails project, but it expects to have rake file in the project folder.
How to fix this issue?
--
Ram
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Daniel Berger | 24 Jan 17:28
Gravatar

CC running tests twice with Passenger 3

Hi,

Ruby 1.8.7
Cruise Control 1.4.0
Passenger 3.0.2
git

Since upgrading to Passenger 3 we've noticed that our Cruise projects
try to run the test suite twice which is, in itself, causing some of our
tests to fail (on the second run).

Note that our tests pass (and only run once) on our local boxes, so it's
not some hidden fork call. Also, they pass if run manually on the server
hosting CC (and only run once). It's only the automated testing that
exhibits this behavior.

Any ideas?

Regards,

Dan
Picon
Favicon
Gravatar

Updating my CC.rb instance?

Hi,

According to https://github.com/thoughtworks/cruisecontrol.rb#readme
the last release was 1.5 years ago: v1.4 on 2009-06-30.  What version
of Ruby and Rails should I use with that release?

Should I instead just pull something from github?  If so, what version
of Ruby and Rails do you advise?

Thanks,
--
Bil, http://fun3d.larc.nasa.gov

P.S. I'm currently using some hacked up v1.3 version I forked off github
a long while ago.
Amit Kulkarni | 3 Jan 15:24
Picon

Email configuration for projects

Hi,
I had successfully added a project but i am getting problem in email setup.
I am getting error as"Error in plugin EmailNotifier: wrong number of arguments (3 for 2)"

This is the log :
error] [2011-01-03 19:45:47] Error sending e-mail - current server settings are :
  :authentication = :plain
  :password = "test123"
  :port = 587
  :address = "smtp.gmail.com"
  :user_name = "test-LmeKiT3xSvsi8rCdYzckzA@public.gmane.org"
  :enable_starttls_auto = true
[error] [2011-01-03 19:45:47] Error sending e-mail - current server settings are :
  :authentication = :plain
  :password = "test123"
  :port = 587
  :address = "smtp.gmail.com"
  :user_name = "test <at> joshsoftware.com"
  :enable_starttls_auto = true
[error] wrong number of arguments (3 for 2)
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../lib/smtp_tls.rb:7:in `check_auth_args'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../lib/smtp_tls.rb:7:in `do_start'
[error]   /usr/lib/ruby/1.8/net/smtp.rb:525:in `start'
[error]   /usr/lib/ruby/1.8/net/smtp.rb:463:in `start'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:565:in `perform_delivery_smtp'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:451:in `send'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:451:in `deliver!'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:333:in `method_missing'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../lib/builder_plugins/email_notifier.rb:52:in `send'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../lib/builder_plugins/email_notifier.rb:52:in `email'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../lib/builder_plugins/email_notifier.rb:41:in `build_finished'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/project.rb:334:in `send'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/project.rb:334:in `notify'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/project.rb:332:in `collect'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/project.rb:332:in `notify'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/project.rb:313:in `build_without_serialization'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/project.rb:289:in `build'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/project.rb:268:in `build_if_requested'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/polling_scheduler.rb:26:in `check_build_request_until_next_polling'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/../config/../app/models/polling_scheduler.rb:13:in `run'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/builder:79
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/builder:78:in `catch'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/../../script/builder:78
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/init.rb:47:in `load'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/init.rb:47:in `builder'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/init.rb:10:in `send'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../lib/cruise_control/init.rb:10:in `run'
[error]   /home/amit/Desktop/cruisecontrol-1.4.0/public/../config/../cruise:5


My site_config file is as follows :
ActionMailer::Base.smtp_settings = {
   :address =>        "smtp.gmail.com",
   :port =>           587,
   :authentication => :plain,
   :enable_starttls_auto => true,
   :user_name =>      "test-LmeKiT3xSvsi8rCdYzckzA@public.gmane.org",
   :password =>       "test123"
 }

and my cruise_config file is as follows :
Project.configure do |project|

  # Send email notifications about broken and fixed builds to email1 <at> your.site, email2-maNR5zQ3oduzQB+pC5nmwQ@public.gmane.org (default: send to nobody)
    project.email_notifier.emails = ['qa <at> joshsoftware.com']
    project.email_success_notifier.emails = ['qa-LmeKiT3xSvsi8rCdYzckzA@public.gmane.org']

  # Set email 'from' field to john-Ch9RrZxMC0c@public.gmane.org:
   project.email_notifier.from = 'test-J0of1frlU80@public.gmane.org'

  # Build the project by invoking rake task 'custom'
  # project.rake_task = 'custom'

  # Build the project by invoking shell script "build_my_app.sh". Keep in mind that when the script is invoked,
  # current working directory is <em>[cruise&nbsp;data]</em>/projects/your_project/work, so if you do not keep build_my_app.sh
  # in version control, it should be '../build_my_app.sh' instead
  # project.build_command = 'build_my_app.sh'

  # Ping Subversion for new revisions every 5 minutes (default: 30 seconds)
  # project.scheduler.polling_interval = 5.minutes

end

Can you suggest where i am going wrong.Or some gem is missing.

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Sebastian Nowak | 5 Nov 11:21
Picon

CC.rb constantly building one project

Hi, I use CC.rb for CI in my company. I have problem with one of my
projects. It builds constontly, there are builds: 176.1, 176.2 ....
176.56 I suppose it has no end at all. How can I fix it? I tried to
remove and add it again but it doesn't work.

--

-- 
Pozdrawiam, Sebastian Nowak
http://blog.sebastiannowak.net
XMPP: im@...

Gmane