Hi all,<br><br>With CC 1.1 running on FreeBSD:<br><br>I recently converted from using the default CC task (ie. purge, migrate, test) to defining a cruise task that runs rcov over the tests and outputs its data into Custom Build Artifacts. It does a great job of generating and displaying rcov output but the other elements of the CC build display have disappeared (Build Changeset, Build Log, and Project Settings).
<br><br>A further clue is in the new Build Log output: <br>-- Tear Here --<br>dir : /usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/work
<br>command : ruby -e "require 'rubygems' rescue nil; require 'rake'; load
'/usr/home/maui/dve/cruisecontrolrb-1.1.0/tasks/cc_build.rake'; ARGV
<< '--nosearch' << '--trace' << 'cc:build';
Rake.application.run"
<br>executed command : echo
/usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/work maui$
ruby -e "require 'rubygems' rescue nil; require 'rake'; load
'/usr/home/maui/dve/cruisecontrolrb-1.1.0/tasks/cc_build.rake'; ARGV
<< '--nosearch' << '--trace' << 'cc:build';
Rake.application.run" >>
/usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/build-673.2/build.log
&& ruby -e "require 'rubygems' rescue nil; require 'rake'; load
'/usr/home/maui/dve/cruisecontrolrb-1.1.0/tasks/cc_build.rake'; ARGV
<< '--nosearch' << '--trace' << 'cc:build';
Rake.application.run" >>
/usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/build-673.2/build.log
2>&1
<br>exitstatus: 1
<br><br>STDERR TAIL START
<br>/usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/build-673.2/build.log
doesn't exist
<br>STDERR TAIL END<br>-- End --<br><br>The build.log file referenced above does exist now. Unfortunately it contains the output above.<br><br>In addition I get this for project settings:<br>-- Tear Here --<br>This project has no custom configuration. Maybe it doesn't need it.
<br>Otherwise, <a href="http://cc.ideeli.com/documentation/manual">the manual</a> can tell you how.<br>-- End --<br><br>I do have a cruise_config.rb in the appropriate projects subdir but it isn't reading it.<br><br>Here is me new rake task:
<br><br>task :testing do<br> puts "testing called"<br> RAILS_ENV = ENV['RAILS_ENV'] = 'test'<br> abcs = ActiveRecord::Base.configurations<br> case abcs["test"]["adapter"]<br>
when "mysql"<br> ActiveRecord::Base.establish_connection(:test)<br> else <br> puts "Error, unable to establish connection to database"<br> exit<br> end<br>end<br><br>desc "This task runs tests against the cruisecontrol environment"
<br>task :cruise do<br> Rake::Task["db:test:purge"].invoke<br> Rake::Task["testing"].invoke<br> Rake::Task["db:migrate"].invoke<br> Rake::Task["test:coverage"].invoke<br>end<br>
<br><br>
-- End --<br><br>Any ideas on why these files disappeared and what I need to do to fix this?<br><br>Thanks,<br><br>Mark<br>