cruisecontrol.rb

How do I integrate my continuous integration system with my bug tracking system?

I use cruisecontrol.rb for CI and FogBugz for bug tracking, but the more general the answers, the better. First is the technical problem: is there an API for FogBugz? Are there good tutorials, or better yet, pre-written code? Second is the procedural problem: what, exactly, should the CI put in the bug tracker when the build breaks? ...

Can you use CruiseControl to build Cocoa/Objective-C projects?

Has anyone ever set up Cruise Control to build an OS X Cocoa/Objective-C project? If so, is there a preferred flavor of CruiseControl (CruiseControl.rb or just regular CruiseControl) that would be easier to do this with. I currently have a Ruby rake file that has steps for doing building and running tests, and wanted to automate this ...

CruiseControl.rb SVN Access Denied

I'm having a problem where I have been able to add a project to CC.rb perfectly fine but when I start the service I get "Access Denied" messages each time it checks with Subversion for a newer version. I'm running with --trace and running the exact command it is trying from the project's work directory: svn --non-interactive log --limi...

Continuous integration / Cruisecontrol advice

Hi, I've been tasked with setting up a continuous integration server for our project and am weighing up the options. I would like to use cc.rb rather than cc for the simple fact that I'd rather be writing Ruby than XML. From what I can see cc is a more mature product and comes with more features out of the box. So I would like to know...

Ruby on Rails and CruiseControl.rb

How do I set up the email notification with CruiseControl.rb? I've specified the ActionMailer::Base.smtp_settings in the site-config.rb but where do I specify who will receive the email notification? Do I need to create a config.xml file? If so, where do I put the file and do you have an example of the contents of this file? ...

CruiseControl.rb: running cruise rake task with current revision as parameter

Hi, when CruiseControl.rb wants to perform an integration test it looks for a rake task called "cruise" within the project and executes it. Is there a way to hand over the current revision number to that task? I'm deploying an app using capistrano on a remote machine after integration tests. Because capistrano will deploy the HEAD rev...

cruisecontrol.rb

we are using cruisecontrol.rb for CI. but cruise control is failing with this output /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems.rb:258:in `activate': can't activate activesupport (= 1.4.2, runtime) for [], already activated activesupport-2.2.2 for ["rails-2.2.2"] (Gem::Exception) from /opt/ruby-enterprise-...

CruiseControl.rb always running my projects in production mode?

I'm curious as to why when I build my project using CruiseControl.rb, it runs it in production mode? Even though my application should not be in production mode. I even tried to specify: ENV['RAILS_ENV'] ||= 'development' in my app's environment.rb ...

Remotely Track the Current Branch in Git

I'm moving my continuous testing to a dedicated server (autotest slows down my local laptop too much). What I'd like is for my testing server (which happens to be running CruiseControl.rb) to be continuously getting my latest (committed) changes via Git -- ideally, without any changes to my own workflow. I am the only developer working o...

CruiseControl.rb PATH

I'm trying to get CruiseControl.rb to run rcov during a build. It's currently failing with the following error: sh: rcov: not found Since I can run rcov from the shell when I log in, I figure that this is a PATH problem. (Additionally, I can run both rake test:rcov and rake cruise from the shell without errors). I added a p 'echo $PA...

Include FileUtils raises an error

I am trying to install CruiseControl.rb on an Amazon EC2 instance. I get this error in the mongrel log: /data/cruisecontrol/releases/20100313003145/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in `const_missing': uninitialized constant ProjectsMigration::FileUtils (NameError) This error is raised in a file called p...

CruiseControl.rb: Error in plugin EmailNotifier: 501 5.1.7 Bad sender address syntax?

Hi guys, I can't seem to figure this out. I setup my email address in cruisecontrol.rb but no matter how I set it, it always gives me this error. Current settings are: project/cruise_config.rb: project.email_notifier.emails = ['[email protected]'] project.email_notifier.from = '[email protected]' site_config.rb: ActionMailer::Base...

Automated testing of privileged operations

How do you unit/integration test code that requires a different privilege level than exists in your continuous integration environment? In my non-root, CCRB-driven build environment, I've got some utility functions that assume privileges that don't hold in my automated build environment: either root privileges or special accounts and g...