プロジェクト

全般

プロフィール

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

Toshiyuki Ando, 2012/12/26 01:04

1 1 Toshiyuki Ando
h1. Hudson Plugin
2
3 7 Toshiyuki Ando
{{>toc}}
4
5 1 Toshiyuki Ando
h2. How to get
6
7 27 Toshiyuki Ando
Latest version is 2.1.0
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 27 Toshiyuki Ando
177
h3. 2.1.0
178
179
* #1153 (Defect) some language file uses old format.
180
* #1147 (Defect) RoutingErrors for plugin assets.
181
* #1128 (Proposal) Resolve conflict with backlogs
182
* #1121 (Defect) Redmine 2.1.2 - Redmine_Hudson plugin 2.00 - ActionView::Template::Error (undefined method `auth_user' for #<HudsonSettings
183
* #1118 (Feature) Support Redmine2.1.x
184
185 26 Toshiyuki Ando
186
h3. 1.0.8.1
187
188
* #1036 Error when issue details with related commits in Redmine 1.4.x and Hudson Plugin 1.0.8
189 25 Toshiyuki Ando
190
h3. 1.0.8
191
192
* #947 (Feature) German translation updated. thanks Terence Miller!
193
* #1010 (Defect) Does'nt work on Redmine1.4
194 22 Toshiyuki Ando
195
h3. 1.0.7
196
197
* #682 (Defect) Plugin has no license
198
* #675 (Defect) db:migrate_plugins down failed
199
* #713 (Defect) I checked "Plugin uses below url for access to hudson.", but textbox doesn't appear
200
* #714 (Feature) Dutch translation
201
* #769 (Feature) Russian translation
202 21 Toshiyuki Ando
203
h3. 1.0.6.1
204
205
* #563 (Defect) can't disable rotate, when enable 'rotate' with one job.
206
* #515 (Defect) can't save job rotate settings with mysql 5.0.
207 20 Toshiyuki Ando
208
h3. 1.0.6
209
210
* #476 (Feature) Support Atom format (thanks! Akiko Takano)
211 19 Toshiyuki Ando
212
h3. 1.0.5
213
214
* #411 (Feature) Chinese translation
215
* #387 (Defect) Error occurs when Hudson.Fetch fails by HudsonApiException
216
* #386 (Feature) Localization for permission string
217 18 Toshiyuki Ando
218
h3. 1.0.4
219
220
* #367 (Defect) Error occurs when delete all history
221
* #366 (Defect) Fail to save if new project settings have health report settings
222
* #344 (Defect) Fail to save Health report settings
223 17 Toshiyuki Ando
224
h3. 1.0.3.1
225
226
* #318 (Defect) some tests failed
227
* #316 (Defect) internal error occurres on issue page
228 1 Toshiyuki Ando
229 15 Toshiyuki Ando
h3. 1.0.3
230
231 16 Toshiyuki Ando
* #282 (Defect) unit and feature test failed with redmine 0.9.x or trunk
232
* #304 (Defect) migrate_plugins failed with MySQL
233 15 Toshiyuki Ando
* #306 (Feature) User can specify url separately, for plugin access and user access
234
* #314 (Feature) Italian translation
235
236 1 Toshiyuki Ando
h3. 1.0.2
237
238 15 Toshiyuki Ando
* #198 (Feature) You can download artifacts.
239
* #266 (Feature) Clean up stored data.
240
* #267 (Feature) Search issues related particular build.
241
* #235 (Defect) Hudson icon does not display in activitiy view with IE
242
* #273 (Defect) Internal error occures when hudson has no response.
243
* #276 (Defect) Translation missing occures on redmine0.9.x or trunk
244
* #284 (Defect) When saving the settings for a project, get the exception.
245
* #286 (Defect) Can't get changeset information.
246
* #288 (Defect) Can't show build results on issue redmine0.9.x or trunk
247
* #291 (Defect) db:migrate_plugins failed on PostgreSQL
248 13 Toshiyuki Ando
249
h3. 1.0.1.1
250
251 15 Toshiyuki Ando
* #244 "rake db:migrate_plugins" doesn't work without rcov
252
* #242 Build job and Build history doesn't work on Redmine 0.8.7
253 13 Toshiyuki Ando
254
h3. 1.0.1
255
256 15 Toshiyuki Ando
* #228 Install Instructions
257
* #225 You never can check off 'Show Compact'
258
* #224 You can find jobs built today
259
* #219 Can't get RSS on activity page, when check 'Hudson' box
260
* #218 Anonymous can't see acitivity
261
* #212 Plugin can't show latest build result
262 13 Toshiyuki Ando
263
h3. 1.0.0
264
265
* You can get build results using rake task 'redmine_hudson:fetch'
266
* Choose format to write job description HTML or Textile
267
* You can also change description visibility dynamically
268
269
h3. 0.1.6
270
271
* Health report settings comes in useful.
272
273
h3. 0.1.5
274
275
* Show build result on issue. Use Hudson icons.
276
277
h3. 0.1.4
278
279
* Show build history on activity. Save infomation on database.
280
281
h3. 0.1.3
282
283
* Fixed BasicAuth bug.
284
285
h3. 0.1.2
286
287
* Fixed https-connection bug.
288
289
h3. 0.1.1
290
291
* Support basic-authentication and https-connection.
292
293
h3. 0.1.0
294 1 Toshiyuki Ando
295
* First release
296
297
h2. Contact info
298
299
* Website  -> r-labs[http://www.r-labs.org/]
300
* Email    -> couger@kt.rim.or.jp