Project

General

Profile

Hudson En » History » Version 24

Toshiyuki Ando, 05/03/2012 07:50 AM

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