プロジェクト

全般

プロフィール

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

Toshiyuki Ando, 2009/11/08 12:14

1 1 Toshiyuki Ando
h1. Hudson Plugin
2
3 7 Toshiyuki Ando
{{>toc}}
4
5 1 Toshiyuki Ando
h2. How to get
6
7 11 Toshiyuki Ando
Latest version is 1.0.1
8 1 Toshiyuki Ando
9
* "repository":http://r-labs.googlecode.com/svn/trunk/plugins/redmine_hudson/
10 11 Toshiyuki Ando
* "download":http://r-labs.googlecode.com/files/redmine_hudson-1.0.1.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
* Provide a link to Hudson, if plugin found keyword in Health Report.
27
* Bulid number linked to build result page.
28 1 Toshiyuki Ando
* Click clock-icon, request hudson to build.
29 10 Toshiyuki Ando
* Mr. hudson appears. ( sorry, not emotional )
30 1 Toshiyuki Ando
31 11 Toshiyuki Ando
!redmine_hudson_index_1_0_1_en_small.png!
32 1 Toshiyuki Ando
33
h3. Show Build History
34
35
click note icon, show build history
36
37 10 Toshiyuki Ando
* build number, result, date.
38
* Bulid number linked to build result page.
39
* Console icon linked to console page.
40 1 Toshiyuki Ando
41
h3. Show build history on activity.
42
43 10 Toshiyuki Ando
* jobname, build number, test-result(only number of items) and changesets.
44 1 Toshiyuki Ando
45
!redmine_hudson_show_build_history_on_activity.png!
46
47
h3. Show build result on issue.
48 8 Toshiyuki Ando
49 1 Toshiyuki Ando
* job-name, build-number, result and built date and time. when Hudson builds revisions associated issues.
50
51
!redmine_hudson_show_build_result_on_issue.png!
52
53 10 Toshiyuki Ando
h3. rake task 'redmine_hudson:fetch'
54 1 Toshiyuki Ando
55 10 Toshiyuki Ando
You can get build results using rake task 'redmine_hudson:fetch'.
56
If you use rake task, please uncheck 'AutoFetch' setting.
57
You can change 'AutoFetch' setting on settings/plugin/redmine_hudson.
58
59
h3. Settings for each projects
60
61
* Hudson url (can use https)
62 6 Toshiyuki Ando
* auth user, password ( 0.1.1 higher )
63 10 Toshiyuki Ando
* can stop plugin getting test results and changesets. (Getting test results and changesets needs a good amount of time.)
64 1 Toshiyuki Ando
* choose job
65 10 Toshiyuki Ando
* compact mode ( show only job name and latest build)
66
* keyword and url for health report
67 1 Toshiyuki Ando
68
!redmine_hudson_settings_0_1_6_en_small.png!
69
70 10 Toshiyuki Ando
h3. Settings for plugins (all projects)
71
72
Go  Administration -> Plugins -> 'Redmine Hudson Plugin' Configure.
73
74
* You can choose format to write job description. HTML or Textile.
75
* AutoFetch Mode. Plugin fetches information from Hudson during action 'index'.
76
77
!redmine_hudson_global_settings_1_0_0_en.png!
78
79 1 Toshiyuki Ando
h3. Support Language
80
81
* Japanese
82
* English
83
* Deutsch
84 3 Toshiyuki Ando
Thanks! "Jens Goldhammer":http://www.redmine.org/account/show/4080 , "Florian Bartels":http://www.redmine.org/account/show/6169 
85
* Magyar
86 1 Toshiyuki Ando
Thanks! "Péter Major":http://www.redmine.org/account/show/6179
87
* Spanish
88
Thanks! juancayetano.delgado
89 11 Toshiyuki Ando
90
h2. Install Instructions
91
92
h3. Install plugin
93
94
# Copy the plugin into the vendor/plugins directory
95
# Migrate plugin: rake db:migrate_plugins RAILS_ENV=production
96
# Start Redmine
97
98
h3. Enable plugin on project
99
100
# Move to Project settings
101
# Click 'Modules'
102
# Check the box 'Hudson', and save.
103
104
h3. Edit Hudson settings
105
106
# Click 'Hudson' tab on the menu
107
# Click 'Settings' in sidebar
108
# Edit settings ( url, job... )
109
110
h3. View jobs
111
112
# Click 'Hudson' tab on the menu (In first time, it takes long time)
113 1 Toshiyuki Ando
114 10 Toshiyuki Ando
h2. Important reminder 
115 6 Toshiyuki Ando
116 10 Toshiyuki Ando
h3. Hudson
117
118 6 Toshiyuki Ando
Recommend Hudson 1.313
119
If you use old version of Hudson, plugin may not get test results and changesets.
120
Plugin store build information, if plugin can't get test results or changesets.
121
But, If plugin fail, never get test results, changesets again.
122
123 10 Toshiyuki Ando
h3. Using IE8
124
125
Please use Compatibility View in IE8.
126
127
h3. Exclusive Control
128
129 6 Toshiyuki Ando
Plugin has no exclusive control, so plugin doesn't work when redmine works on multi-process.
130 10 Toshiyuki Ando
Hopefully i fix it.
131 1 Toshiyuki Ando
132 10 Toshiyuki Ando
h3. Something is wrong with plugin
133 1 Toshiyuki Ando
134 10 Toshiyuki Ando
you should try to delete data from database.
135
Use 'delete history' button in setting page.