プロジェクト

全般

プロフィール

Hudson En » 履歴 » バージョン 14

Toshiyuki Ando, 2010/02/20 00:59

1 1 Toshiyuki Ando
h1. Hudson Plugin
2 1 Toshiyuki Ando
3 7 Toshiyuki Ando
{{>toc}}
4 7 Toshiyuki Ando
5 1 Toshiyuki Ando
h2. How to get
6 1 Toshiyuki Ando
7 13 Toshiyuki Ando
Latest version is 1.0.2
8 1 Toshiyuki Ando
9 1 Toshiyuki Ando
* "repository":http://r-labs.googlecode.com/svn/trunk/plugins/redmine_hudson/
10 13 Toshiyuki Ando
* "download":http://r-labs.googlecode.com/files/redmine_hudson-1.0.2.zip
11 1 Toshiyuki Ando
12 1 Toshiyuki Ando
h2. What's hudson?
13 1 Toshiyuki Ando
14 1 Toshiyuki Ando
Huson is application for Continuous Integration.
15 1 Toshiyuki Ando
Easy install configuration, and good ui.
16 1 Toshiyuki Ando
17 1 Toshiyuki Ando
More detail "Meet Hudson":http://wiki.hudson-ci.org/display/HUDSON/Meet+Hudson
18 1 Toshiyuki Ando
19 1 Toshiyuki Ando
h2. Features
20 1 Toshiyuki Ando
21 1 Toshiyuki Ando
h3. Show Job List
22 1 Toshiyuki Ando
23 1 Toshiyuki Ando
* Name, Description, Latest Build ( Build number, Result, Date ) and health report.
24 11 Toshiyuki Ando
* You can find jobs built today.
25 10 Toshiyuki Ando
* You can change description visibility dynamically.
26 1 Toshiyuki Ando
* Provide a link to Hudson, if plugin found keyword in Health Report.
27 10 Toshiyuki Ando
* Bulid number linked to build result page.
28 13 Toshiyuki Ando
* Download artifacts.
29 1 Toshiyuki Ando
* Click clock-icon, request hudson to build.
30 10 Toshiyuki Ando
* Mr. hudson appears. ( sorry, not emotional )
31 1 Toshiyuki Ando
32 13 Toshiyuki Ando
!redmine_hudson_index_1_0_2_en_small.png!
33 1 Toshiyuki Ando
34 1 Toshiyuki Ando
h3. Show Build History
35 1 Toshiyuki Ando
36 1 Toshiyuki Ando
click note icon, show build history
37 1 Toshiyuki Ando
38 10 Toshiyuki Ando
* build number, result, date.
39 10 Toshiyuki Ando
* Bulid number linked to build result page.
40 10 Toshiyuki Ando
* Console icon linked to console page.
41 1 Toshiyuki Ando
42 1 Toshiyuki Ando
h3. Show build history on activity.
43 1 Toshiyuki Ando
44 10 Toshiyuki Ando
* jobname, build number, test-result(only number of items) and changesets.
45 1 Toshiyuki Ando
46 1 Toshiyuki Ando
!redmine_hudson_show_build_history_on_activity.png!
47 1 Toshiyuki Ando
48 1 Toshiyuki Ando
h3. Show build result on issue.
49 8 Toshiyuki Ando
50 1 Toshiyuki Ando
* job-name, build-number, result and built date and time. when Hudson builds revisions associated issues.
51 1 Toshiyuki Ando
52 1 Toshiyuki Ando
!redmine_hudson_show_build_result_on_issue.png!
53 1 Toshiyuki Ando
54 13 Toshiyuki Ando
h3. Search issues related particular build
55 13 Toshiyuki Ando
56 13 Toshiyuki Ando
You can search issues related job and build using filter.
57 13 Toshiyuki Ando
Plugin chases issues by taking following step.
58 13 Toshiyuki Ando
 Hudson Job -> Hudson Build -> Related Changeset -> Revision -> Issue
59 13 Toshiyuki Ando
Hudson Build and Related Changeset are too much, so plugin limits number of Builds and Changesets per each Hudson Job.
60 13 Toshiyuki Ando
You can change limit settings on settings/plugin/redmine_hudson.
61 13 Toshiyuki Ando
62 10 Toshiyuki Ando
h3. rake task 'redmine_hudson:fetch'
63 1 Toshiyuki Ando
64 10 Toshiyuki Ando
You can get build results using rake task 'redmine_hudson:fetch'.
65 1 Toshiyuki Ando
If you use rake task, please uncheck 'AutoFetch' setting.
66 1 Toshiyuki Ando
You can change 'AutoFetch' setting on settings/plugin/redmine_hudson.
67 1 Toshiyuki Ando
68 13 Toshiyuki Ando
h3. Clean up stored data
69 13 Toshiyuki Ando
70 13 Toshiyuki Ando
You can delete old data ( builds, changesets, test results ).
71 13 Toshiyuki Ando
Settings are like Hudson.
72 13 Toshiyuki Ando
73 13 Toshiyuki Ando
* rotate days ( 1day = keep today's data )
74 13 Toshiyuki Ando
* rotate nums
75 13 Toshiyuki Ando
76 10 Toshiyuki Ando
h3. Settings for each projects
77 6 Toshiyuki Ando
78 10 Toshiyuki Ando
* Hudson url (can use https)
79 1 Toshiyuki Ando
* auth user, password ( 0.1.1 higher )
80 10 Toshiyuki Ando
* can stop plugin getting test results and changesets. (Getting test results and changesets needs a good amount of time.)
81 1 Toshiyuki Ando
* choose job
82 10 Toshiyuki Ando
* compact mode ( show only job name and latest build)
83 1 Toshiyuki Ando
* keyword and url for health report
84 1 Toshiyuki Ando
85 13 Toshiyuki Ando
!redmine_hudson_settings_1_0_2_en_small.png!
86 10 Toshiyuki Ando
87 10 Toshiyuki Ando
h3. Settings for plugins (all projects)
88 10 Toshiyuki Ando
89 1 Toshiyuki Ando
Go  Administration -> Plugins -> 'Redmine Hudson Plugin' Configure.
90 1 Toshiyuki Ando
91 1 Toshiyuki Ando
* You can choose format to write job description. HTML or Textile.
92 10 Toshiyuki Ando
* AutoFetch Mode. Plugin fetches information from Hudson during action 'index'.
93 13 Toshiyuki Ando
* Number of Builds per each Hudson Job. ( for search issues )
94 13 Toshiyuki Ando
* Number of Changesets per each Hudson Job. ( for search issues )
95 10 Toshiyuki Ando
96 13 Toshiyuki Ando
!redmine_hudson_global_settings_1_0_2_en.png!
97 10 Toshiyuki Ando
98 14 Toshiyuki Ando
h2. Support Language
99 1 Toshiyuki Ando
100 1 Toshiyuki Ando
* Japanese
101 1 Toshiyuki Ando
* English
102 1 Toshiyuki Ando
* Deutsch
103 3 Toshiyuki Ando
Thanks! "Jens Goldhammer":http://www.redmine.org/account/show/4080 , "Florian Bartels":http://www.redmine.org/account/show/6169 
104 3 Toshiyuki Ando
* Magyar
105 1 Toshiyuki Ando
Thanks! "Péter Major":http://www.redmine.org/account/show/6179
106 1 Toshiyuki Ando
* Spanish
107 1 Toshiyuki Ando
Thanks! juancayetano.delgado
108 11 Toshiyuki Ando
109 11 Toshiyuki Ando
h2. Install Instructions
110 11 Toshiyuki Ando
111 11 Toshiyuki Ando
h3. Install plugin
112 11 Toshiyuki Ando
113 11 Toshiyuki Ando
# Copy the plugin into the vendor/plugins directory
114 11 Toshiyuki Ando
# Migrate plugin: rake db:migrate_plugins RAILS_ENV=production
115 11 Toshiyuki Ando
# Start Redmine
116 11 Toshiyuki Ando
117 11 Toshiyuki Ando
h3. Enable plugin on project
118 11 Toshiyuki Ando
119 11 Toshiyuki Ando
# Move to Project settings
120 11 Toshiyuki Ando
# Click 'Modules'
121 11 Toshiyuki Ando
# Check the box 'Hudson', and save.
122 11 Toshiyuki Ando
123 11 Toshiyuki Ando
h3. Edit Hudson settings
124 11 Toshiyuki Ando
125 11 Toshiyuki Ando
# Click 'Hudson' tab on the menu
126 11 Toshiyuki Ando
# Click 'Settings' in sidebar
127 11 Toshiyuki Ando
# Edit settings ( url, job... )
128 11 Toshiyuki Ando
129 11 Toshiyuki Ando
h3. View jobs
130 11 Toshiyuki Ando
131 11 Toshiyuki Ando
# Click 'Hudson' tab on the menu (In first time, it takes long time)
132 1 Toshiyuki Ando
133 10 Toshiyuki Ando
h2. Important reminder 
134 6 Toshiyuki Ando
135 10 Toshiyuki Ando
h3. Hudson
136 10 Toshiyuki Ando
137 6 Toshiyuki Ando
Recommend Hudson 1.313
138 6 Toshiyuki Ando
If you use old version of Hudson, plugin may not get test results and changesets.
139 6 Toshiyuki Ando
Plugin store build information, if plugin can't get test results or changesets.
140 6 Toshiyuki Ando
But, If plugin fail, never get test results, changesets again.
141 6 Toshiyuki Ando
142 10 Toshiyuki Ando
h3. Using IE8
143 10 Toshiyuki Ando
144 10 Toshiyuki Ando
Please use Compatibility View in IE8.
145 10 Toshiyuki Ando
146 10 Toshiyuki Ando
h3. Exclusive Control
147 10 Toshiyuki Ando
148 6 Toshiyuki Ando
Plugin has no exclusive control, so plugin doesn't work when redmine works on multi-process.
149 10 Toshiyuki Ando
Hopefully i fix it.
150 1 Toshiyuki Ando
151 1 Toshiyuki Ando
h3. Something is wrong with plugin
152 1 Toshiyuki Ando
153 1 Toshiyuki Ando
you should try to delete data from database.
154 1 Toshiyuki Ando
Use 'delete history' button in setting page.
155 13 Toshiyuki Ando
156 13 Toshiyuki Ando
h2. Changelog
157 13 Toshiyuki Ando
158 13 Toshiyuki Ando
h3. 1.0.2
159 13 Toshiyuki Ando
160 13 Toshiyuki Ando
* ##198 (Feature) You can download artifacts.
161 13 Toshiyuki Ando
* ##266 (Feature) Clean up stored data.
162 13 Toshiyuki Ando
* ##267 (Feature) Search issues related particular build.
163 13 Toshiyuki Ando
* ##235 (Defect) Hudson icon does not display in activitiy view with IE
164 13 Toshiyuki Ando
* ##273 (Defect) Internal error occures when hudson has no response.
165 13 Toshiyuki Ando
* ##276 (Defect) Translation missing occures on redmine0.9.x or trunk
166 13 Toshiyuki Ando
* ##284 (Defect) When saving the settings for a project, get the exception.
167 13 Toshiyuki Ando
* ##286 (Defect) Can't get changeset information.
168 13 Toshiyuki Ando
* ##288 (Defect) Can't show build results on issue redmine0.9.x or trunk
169 13 Toshiyuki Ando
* ##291 (Defect) db:migrate_plugins failed on PostgreSQL
170 13 Toshiyuki Ando
171 13 Toshiyuki Ando
h3. 1.0.1.1
172 13 Toshiyuki Ando
173 13 Toshiyuki Ando
* ##244 "rake db:migrate_plugins" doesn't work without rcov
174 13 Toshiyuki Ando
* ##242 Build job and Build history doesn't work on Redmine 0.8.7
175 13 Toshiyuki Ando
176 13 Toshiyuki Ando
h3. 1.0.1
177 13 Toshiyuki Ando
178 13 Toshiyuki Ando
* ##228 Install Instructions
179 13 Toshiyuki Ando
* ##225 You never can check off 'Show Compact'
180 13 Toshiyuki Ando
* ##224 You can find jobs built today
181 13 Toshiyuki Ando
* ##219 Can't get RSS on activity page, when check 'Hudson' box
182 13 Toshiyuki Ando
* ##218 Anonymous can't see acitivity
183 13 Toshiyuki Ando
* ##212 Plugin can't show latest build result
184 13 Toshiyuki Ando
185 13 Toshiyuki Ando
h3. 1.0.0
186 13 Toshiyuki Ando
187 13 Toshiyuki Ando
* You can get build results using rake task 'redmine_hudson:fetch'
188 13 Toshiyuki Ando
* Choose format to write job description HTML or Textile
189 13 Toshiyuki Ando
* You can also change description visibility dynamically
190 13 Toshiyuki Ando
191 13 Toshiyuki Ando
h3. 0.1.6
192 13 Toshiyuki Ando
193 13 Toshiyuki Ando
* Health report settings comes in useful.
194 13 Toshiyuki Ando
195 13 Toshiyuki Ando
h3. 0.1.5
196 13 Toshiyuki Ando
197 13 Toshiyuki Ando
* Show build result on issue. Use Hudson icons.
198 13 Toshiyuki Ando
199 13 Toshiyuki Ando
h3. 0.1.4
200 13 Toshiyuki Ando
201 13 Toshiyuki Ando
* Show build history on activity. Save infomation on database.
202 13 Toshiyuki Ando
203 13 Toshiyuki Ando
h3. 0.1.3
204 13 Toshiyuki Ando
205 13 Toshiyuki Ando
* Fixed BasicAuth bug.
206 13 Toshiyuki Ando
207 13 Toshiyuki Ando
h3. 0.1.2
208 13 Toshiyuki Ando
209 13 Toshiyuki Ando
* Fixed https-connection bug.
210 13 Toshiyuki Ando
211 13 Toshiyuki Ando
h3. 0.1.1
212 13 Toshiyuki Ando
213 13 Toshiyuki Ando
* Support basic-authentication and https-connection.
214 13 Toshiyuki Ando
215 13 Toshiyuki Ando
h3. 0.1.0
216 13 Toshiyuki Ando
217 13 Toshiyuki Ando
* First release
218 13 Toshiyuki Ando
219 13 Toshiyuki Ando
h2. Contact info
220 13 Toshiyuki Ando
221 13 Toshiyuki Ando
* Website  -> r-labs[http://www.r-labs.org/]
222 13 Toshiyuki Ando
* Email    -> couger@kt.rim.or.jp