Actions
Defect #1111
openbugs with hudson2.0.0 and redmine 2.0.3
Start date:
09/20/2012
Due date:
% Done:
0%
Estimated time:
Description
Hi,
i install the hudson on redmine 2.0.3 and i got 2 error
1) can not display the index.html.erb after setting hudson jobs
a) fix line 42 and 59 ( add .html.safe)
line 42 .... today_tag.html_safe ....
line 59 .... #{report.score}%".html_safe ......
2) activity with hudson failed
a) fix lines 34 and 35 in redmine_hudson\app\models\hudson_build.rb
replace t with l ( i dont knoe if this is ok but it solv the problem)
line 34 retval = "#{l(:label_build)} #{o.job.name} #{o.number}: #{o.result}" unless o.building?
line 35 retval = "#{l(:label_build)} #{o.job.name} #{o.number}: #{l(:notice_building)}" if o.building?
regards zacky
Updated by - - almost 12 years ago
Not work with backlogs 0.9.32 also. Following patch resolve it.
--- Gemfile.orig 2012-12-29 00:48:44.000000000 +0900 +++ Gemfile 2012-12-29 00:49:43.000000000 +0900 @@ -10,11 +10,11 @@ gem 'mocha', "=0.12.3", :require => false platforms :mri_18, :mingw_18 do - gem "rcov", :group => :development + gem "rcov", "= 0.9.11", :group => :development end platforms :mri_19, :mingw_19 do - gem 'simplecov', ">= 0.6", :require => false, :group => :development + gem 'simplecov', "~> 0.6", :require => false, :group => :development gem 'simplecov-rcov', :require => false, :group => :development gem 'simplecov-rcov-text', :require => false, :group => :development end
Actions