Project

General

Profile

Hudson En » History » Version 29

Toshiyuki Ando, 01/14/2013 06:54 PM

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