プロジェクト

全般

プロフィール

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

Toshiyuki Ando, 2010/10/03 17:48

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