プロジェクト

全般

プロフィール

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

Toshiyuki Ando, 2013/09/23 20:34

1 1 Toshiyuki Ando
h1. Hudson Plugin
2
3 7 Toshiyuki Ando
{{>toc}}
4
5 1 Toshiyuki Ando
h2. How to get
6
7 30 Toshiyuki Ando
Latest version is 2.1.2
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 30 Toshiyuki Ando
h2. Support Language (thanks for contribute)
112 1 Toshiyuki Ando
113 30 Toshiyuki Ando
[de.yml] Jens Goldhammer, Florian Bartels
114
[es.yml] juancayetano.delgado
115
[fr.yml] Francois-Xavier CAUVIN, , Fabien Crespel
116
[hu.yml] Péter Major
117
[it.yml] Marco Bazzani
118
[ru.yml] Eugene Sirotkin
119
[zh.yml] Billy T
120 11 Toshiyuki Ando
121
h2. Install Instructions
122
123
h3. Install plugin
124
125
# Copy the plugin into the vendor/plugins directory
126
# Migrate plugin: rake db:migrate_plugins RAILS_ENV=production
127
# Start Redmine
128
129
h3. Enable plugin on project
130
131
# Move to Project settings
132
# Click 'Modules'
133
# Check the box 'Hudson', and save.
134
135
h3. Edit Hudson settings
136
137
# Click 'Hudson' tab on the menu
138
# Click 'Settings' in sidebar
139
# Edit settings ( url, job... )
140
141
h3. View jobs
142
143
# Click 'Hudson' tab on the menu (In first time, it takes long time)
144 1 Toshiyuki Ando
145 10 Toshiyuki Ando
h2. Important reminder 
146 6 Toshiyuki Ando
147 10 Toshiyuki Ando
h3. Hudson
148
149 6 Toshiyuki Ando
Recommend Hudson 1.313
150
If you use old version of Hudson, plugin may not get test results and changesets.
151
Plugin store build information, if plugin can't get test results or changesets.
152
But, If plugin fail, never get test results, changesets again.
153 1 Toshiyuki Ando
154
h3. Using IE8
155
156
Please use Compatibility View in IE8.
157
158
h3. Exclusive Control
159
160
Plugin has no exclusive control, so plugin doesn't work when redmine works on multi-process.
161
Hopefully i fix it.
162
163
h3. Something is wrong with plugin
164
165
you should try to delete data from database.
166
Use 'delete history' button in setting page.
167 6 Toshiyuki Ando
168 10 Toshiyuki Ando
h2. Changelog
169 30 Toshiyuki Ando
170
h3. 2.1.2
171
172 31 Toshiyuki Ando
* #1264 (Feature) use tree query parameter when plugin uses hudson api. (thanks, dborisyuk)
173
* #1184 (Feature) [Patch] Add link to hudson server in sidebar
174
* #1172 (Feature) French translation update for v2.1.1 (thanks, Fabien Crespel)
175
* #1279 (Defect)  Undefined method `add_available_filter' error with Redmine 2.2.1
176
* #1258 (Defect)  no issue filter item for hudson.
177
* #1257 (Defect)  gem 'simplecov' version is conflicted with redmine_backlogs
178
* #1255 (Defect)  plugin occurred error, when i choosed 'Plugin' from "look and feel"
179
* #1253 (Defect)  Plugin can't show build result on issue page, when project uses git
180
* #1252 (Defect)  cucumber failed, when i used latest gems.
181
* #1212 (Defect)  Gemfile conflicts with Redmine 2.3.0
182
* #1188 (Defect)  occurred internal error, when select jobs and save settings. (thanks, NAITHO and Akiko Takano)
183 28 Toshiyuki Ando
184
h3. 2.1.1
185
186 29 Toshiyuki Ando
* #1162 (Proposal) redmine_hudson plugin Gemfile setting
187
* #1160 (Defect) rake aborted! at "rake db:migrate_plugins RAILS_ENV=production" on ruby1.8.7
188
* #1157 (Defect) gem 'simplecov' version is conflicted with code review plugin
189 27 Toshiyuki Ando
190
h3. 2.1.0
191
192
* #1153 (Defect) some language file uses old format.
193
* #1147 (Defect) RoutingErrors for plugin assets.
194
* #1128 (Proposal) Resolve conflict with backlogs
195
* #1121 (Defect) Redmine 2.1.2 - Redmine_Hudson plugin 2.00 - ActionView::Template::Error (undefined method `auth_user' for #<HudsonSettings
196
* #1118 (Feature) Support Redmine2.1.x
197
198 26 Toshiyuki Ando
199
h3. 1.0.8.1
200
201
* #1036 Error when issue details with related commits in Redmine 1.4.x and Hudson Plugin 1.0.8
202 25 Toshiyuki Ando
203
h3. 1.0.8
204
205
* #947 (Feature) German translation updated. thanks Terence Miller!
206
* #1010 (Defect) Does'nt work on Redmine1.4
207 22 Toshiyuki Ando
208
h3. 1.0.7
209
210
* #682 (Defect) Plugin has no license
211
* #675 (Defect) db:migrate_plugins down failed
212
* #713 (Defect) I checked "Plugin uses below url for access to hudson.", but textbox doesn't appear
213
* #714 (Feature) Dutch translation
214
* #769 (Feature) Russian translation
215 21 Toshiyuki Ando
216
h3. 1.0.6.1
217
218
* #563 (Defect) can't disable rotate, when enable 'rotate' with one job.
219
* #515 (Defect) can't save job rotate settings with mysql 5.0.
220 20 Toshiyuki Ando
221
h3. 1.0.6
222
223
* #476 (Feature) Support Atom format (thanks! Akiko Takano)
224 19 Toshiyuki Ando
225
h3. 1.0.5
226
227
* #411 (Feature) Chinese translation
228
* #387 (Defect) Error occurs when Hudson.Fetch fails by HudsonApiException
229
* #386 (Feature) Localization for permission string
230 18 Toshiyuki Ando
231
h3. 1.0.4
232
233
* #367 (Defect) Error occurs when delete all history
234
* #366 (Defect) Fail to save if new project settings have health report settings
235
* #344 (Defect) Fail to save Health report settings
236 17 Toshiyuki Ando
237
h3. 1.0.3.1
238
239
* #318 (Defect) some tests failed
240
* #316 (Defect) internal error occurres on issue page
241 1 Toshiyuki Ando
242 15 Toshiyuki Ando
h3. 1.0.3
243
244 16 Toshiyuki Ando
* #282 (Defect) unit and feature test failed with redmine 0.9.x or trunk
245
* #304 (Defect) migrate_plugins failed with MySQL
246 15 Toshiyuki Ando
* #306 (Feature) User can specify url separately, for plugin access and user access
247
* #314 (Feature) Italian translation
248
249 1 Toshiyuki Ando
h3. 1.0.2
250
251 15 Toshiyuki Ando
* #198 (Feature) You can download artifacts.
252
* #266 (Feature) Clean up stored data.
253
* #267 (Feature) Search issues related particular build.
254
* #235 (Defect) Hudson icon does not display in activitiy view with IE
255
* #273 (Defect) Internal error occures when hudson has no response.
256
* #276 (Defect) Translation missing occures on redmine0.9.x or trunk
257
* #284 (Defect) When saving the settings for a project, get the exception.
258
* #286 (Defect) Can't get changeset information.
259
* #288 (Defect) Can't show build results on issue redmine0.9.x or trunk
260
* #291 (Defect) db:migrate_plugins failed on PostgreSQL
261 13 Toshiyuki Ando
262
h3. 1.0.1.1
263
264 15 Toshiyuki Ando
* #244 "rake db:migrate_plugins" doesn't work without rcov
265
* #242 Build job and Build history doesn't work on Redmine 0.8.7
266 13 Toshiyuki Ando
267
h3. 1.0.1
268
269 15 Toshiyuki Ando
* #228 Install Instructions
270
* #225 You never can check off 'Show Compact'
271
* #224 You can find jobs built today
272
* #219 Can't get RSS on activity page, when check 'Hudson' box
273
* #218 Anonymous can't see acitivity
274
* #212 Plugin can't show latest build result
275 13 Toshiyuki Ando
276
h3. 1.0.0
277
278
* You can get build results using rake task 'redmine_hudson:fetch'
279
* Choose format to write job description HTML or Textile
280
* You can also change description visibility dynamically
281
282
h3. 0.1.6
283
284
* Health report settings comes in useful.
285
286
h3. 0.1.5
287
288
* Show build result on issue. Use Hudson icons.
289
290
h3. 0.1.4
291
292
* Show build history on activity. Save infomation on database.
293
294
h3. 0.1.3
295
296
* Fixed BasicAuth bug.
297
298
h3. 0.1.2
299
300
* Fixed https-connection bug.
301
302
h3. 0.1.1
303
304
* Support basic-authentication and https-connection.
305
306
h3. 0.1.0
307 1 Toshiyuki Ando
308
* First release
309
310
h2. Contact info
311
312
* Website  -> r-labs[http://www.r-labs.org/]
313
* Email    -> couger@kt.rim.or.jp