プロジェクト

全般

プロフィール

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

Toshiyuki Ando, 2012/05/03 07:46

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