プロジェクト

全般

プロフィール

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

Toshiyuki Ando, 2009/11/29 11:32

1 1 Toshiyuki Ando
h1. Hudson Plugin
2 1 Toshiyuki Ando
3 7 Toshiyuki Ando
{{>toc}}
4 7 Toshiyuki Ando
5 1 Toshiyuki Ando
h2. How to get
6 1 Toshiyuki Ando
7 12 Toshiyuki Ando
Latest version is 1.0.1.1
8 1 Toshiyuki Ando
9 1 Toshiyuki Ando
* "repository":http://r-labs.googlecode.com/svn/trunk/plugins/redmine_hudson/
10 12 Toshiyuki Ando
* "download":http://r-labs.googlecode.com/files/redmine_hudson-1.0.1.1.zip
11 1 Toshiyuki Ando
12 1 Toshiyuki Ando
h2. What's hudson?
13 1 Toshiyuki Ando
14 1 Toshiyuki Ando
Huson is application for Continuous Integration.
15 1 Toshiyuki Ando
Easy install configuration, and good ui.
16 1 Toshiyuki Ando
17 1 Toshiyuki Ando
More detail "Meet Hudson":http://wiki.hudson-ci.org/display/HUDSON/Meet+Hudson
18 1 Toshiyuki Ando
19 1 Toshiyuki Ando
h2. Features
20 1 Toshiyuki Ando
21 1 Toshiyuki Ando
h3. Show Job List
22 1 Toshiyuki Ando
23 1 Toshiyuki Ando
* 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 10 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 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 1 Toshiyuki Ando
h3. Show Build History
34 1 Toshiyuki Ando
35 1 Toshiyuki Ando
click note icon, show build history
36 1 Toshiyuki Ando
37 10 Toshiyuki Ando
* build number, result, date.
38 10 Toshiyuki Ando
* Bulid number linked to build result page.
39 10 Toshiyuki Ando
* Console icon linked to console page.
40 1 Toshiyuki Ando
41 1 Toshiyuki Ando
h3. Show build history on activity.
42 1 Toshiyuki Ando
43 10 Toshiyuki Ando
* jobname, build number, test-result(only number of items) and changesets.
44 1 Toshiyuki Ando
45 1 Toshiyuki Ando
!redmine_hudson_show_build_history_on_activity.png!
46 1 Toshiyuki Ando
47 1 Toshiyuki Ando
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 1 Toshiyuki Ando
51 1 Toshiyuki Ando
!redmine_hudson_show_build_result_on_issue.png!
52 1 Toshiyuki Ando
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 10 Toshiyuki Ando
If you use rake task, please uncheck 'AutoFetch' setting.
57 10 Toshiyuki Ando
You can change 'AutoFetch' setting on settings/plugin/redmine_hudson.
58 10 Toshiyuki Ando
59 10 Toshiyuki Ando
h3. Settings for each projects
60 10 Toshiyuki Ando
61 10 Toshiyuki Ando
* 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 10 Toshiyuki Ando
* keyword and url for health report
67 1 Toshiyuki Ando
68 1 Toshiyuki Ando
!redmine_hudson_settings_0_1_6_en_small.png!
69 1 Toshiyuki Ando
70 10 Toshiyuki Ando
h3. Settings for plugins (all projects)
71 10 Toshiyuki Ando
72 10 Toshiyuki Ando
Go  Administration -> Plugins -> 'Redmine Hudson Plugin' Configure.
73 10 Toshiyuki Ando
74 10 Toshiyuki Ando
* You can choose format to write job description. HTML or Textile.
75 10 Toshiyuki Ando
* AutoFetch Mode. Plugin fetches information from Hudson during action 'index'.
76 10 Toshiyuki Ando
77 10 Toshiyuki Ando
!redmine_hudson_global_settings_1_0_0_en.png!
78 10 Toshiyuki Ando
79 1 Toshiyuki Ando
h3. Support Language
80 1 Toshiyuki Ando
81 1 Toshiyuki Ando
* Japanese
82 1 Toshiyuki Ando
* English
83 1 Toshiyuki Ando
* 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 3 Toshiyuki Ando
* Magyar
86 1 Toshiyuki Ando
Thanks! "Péter Major":http://www.redmine.org/account/show/6179
87 1 Toshiyuki Ando
* Spanish
88 1 Toshiyuki Ando
Thanks! juancayetano.delgado
89 11 Toshiyuki Ando
90 11 Toshiyuki Ando
h2. Install Instructions
91 11 Toshiyuki Ando
92 11 Toshiyuki Ando
h3. Install plugin
93 11 Toshiyuki Ando
94 11 Toshiyuki Ando
# Copy the plugin into the vendor/plugins directory
95 11 Toshiyuki Ando
# Migrate plugin: rake db:migrate_plugins RAILS_ENV=production
96 11 Toshiyuki Ando
# Start Redmine
97 11 Toshiyuki Ando
98 11 Toshiyuki Ando
h3. Enable plugin on project
99 11 Toshiyuki Ando
100 11 Toshiyuki Ando
# Move to Project settings
101 11 Toshiyuki Ando
# Click 'Modules'
102 11 Toshiyuki Ando
# Check the box 'Hudson', and save.
103 11 Toshiyuki Ando
104 11 Toshiyuki Ando
h3. Edit Hudson settings
105 11 Toshiyuki Ando
106 11 Toshiyuki Ando
# Click 'Hudson' tab on the menu
107 11 Toshiyuki Ando
# Click 'Settings' in sidebar
108 11 Toshiyuki Ando
# Edit settings ( url, job... )
109 11 Toshiyuki Ando
110 11 Toshiyuki Ando
h3. View jobs
111 11 Toshiyuki Ando
112 11 Toshiyuki Ando
# 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 10 Toshiyuki Ando
118 6 Toshiyuki Ando
Recommend Hudson 1.313
119 6 Toshiyuki Ando
If you use old version of Hudson, plugin may not get test results and changesets.
120 6 Toshiyuki Ando
Plugin store build information, if plugin can't get test results or changesets.
121 6 Toshiyuki Ando
But, If plugin fail, never get test results, changesets again.
122 6 Toshiyuki Ando
123 10 Toshiyuki Ando
h3. Using IE8
124 10 Toshiyuki Ando
125 10 Toshiyuki Ando
Please use Compatibility View in IE8.
126 10 Toshiyuki Ando
127 10 Toshiyuki Ando
h3. Exclusive Control
128 10 Toshiyuki Ando
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 10 Toshiyuki Ando
Use 'delete history' button in setting page.