プロジェクト

全般

プロフィール

Defect #1111

bugs with hudson2.0.0 and redmine 2.0.3

zacky azoulay5年以上前に追加. 約5年前に更新.

ステータス:
新規(New)
優先度:
通常(Normal)
担当者:
-
対象バージョン:
開始日:
2012/09/20
期日:
進捗率:

0%

予定工数:

説明

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

履歴

#1 - -約5年前に更新

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

他の形式にエクスポート: Atom PDF