プロジェクト

全般

プロフィール

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

Toshiyuki Ando, 2010/05/09 00:56

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