diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-10 15:40:54 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-10 15:40:54 -0800 |
commit | e889f315c8af6d67bf605069a0ffb8848aea145d (patch) | |
tree | addaec86c8e3d0e1879c48d97156c0d5263f3022 /ci | |
parent | 907858c1fe24ea6e3a48cbc0d6e61ea07c0a0624 (diff) | |
download | rails-e889f315c8af6d67bf605069a0ffb8848aea145d.tar.gz rails-e889f315c8af6d67bf605069a0ffb8848aea145d.tar.bz2 rails-e889f315c8af6d67bf605069a0ffb8848aea145d.zip |
CI: return result of last rake task
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/ci_build.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/ci_build.rb b/ci/ci_build.rb index 9af407bc2e..bece33e736 100755 --- a/ci/ci_build.rb +++ b/ci/ci_build.rb @@ -7,7 +7,9 @@ def root_dir end def rake(*tasks) - tasks.map { |task| system "#{root_dir}/bin/rake", task }.join("\n") + result = nil + tasks.each { |task| result = system("#{root_dir}/bin/rake", task) } + result end puts "[CruiseControl] Rails build" |