プロジェクト

全般

プロフィール

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

Toshiyuki Ando, 2012/06/12 22:49

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