Hudson Plugin

How to get

Latest version is 2.1.2

Repository

https://bitbucket.org/nobiinu_and/redmine_hudson
caution: Repository moved to Bitbucket

Download

latest => https://bitbucket.org/nobiinu_and/redmine_hudson/downloads
untile 1.0.7 => http://code.google.com/p/r-labs/downloads/list

How to report issues

http://www.r-labs.org/projects/hudson/issues

What's hudson?

Huson is application for Continuous Integration.
Easy install configuration, and good ui.

More detail Meet Hudson

Features

Show Job List

  • Name, Description, Latest Build ( Build number, Result, Date ) and health report.
  • You can find jobs built today.
  • You can change description visibility dynamically.
  • Provide a link to Hudson, if plugin found keyword in Health Report.
  • Bulid number linked to build result page.
  • Download artifacts.
  • Click clock-icon, request hudson to build.
  • Mr. hudson appears. ( sorry, not emotional )
  • You can get job list by Atom. ( thanks! Akiko Takano )

Show Build History

click note icon, show build history

  • build number, result, date.
  • Bulid number linked to build result page.
  • Console icon linked to console page.

Show build history on activity.

  • jobname, build number, test-result(only number of items) and changesets.

Show build result on issue.

  • job-name, build-number, result and built date and time. when Hudson builds revisions associated issues.

Search issues related particular build

You can search issues related job and build using filter.
Plugin chases issues by taking following step.
Hudson Job -> Hudson Build -> Related Changeset -> Revision -> Issue
Hudson Build and Related Changeset are too much, so plugin limits number of Builds and Changesets per each Hudson Job.
You can change limit settings on settings/plugin/redmine_hudson.

rake task 'redmine_hudson:fetch'

You can get build results using rake task 'redmine_hudson:fetch'.
If you use rake task, please uncheck 'AutoFetch' setting.
You can change 'AutoFetch' setting on settings/plugin/redmine_hudson.

Clean up stored data

You can delete old data ( builds, changesets, test results ).
Settings are like Hudson.

  • rotate days ( 1day = keep today's data )
  • rotate nums

Settings for each projects

  • Hudson url (can use https)
    User can specify url separately, for plugin access and user access.
  • auth user, password ( 0.1.1 higher )
  • can stop plugin getting test results and changesets. (Getting test results and changesets needs a good amount of time.)
  • choose job
  • compact mode ( show only job name and latest build)
  • keyword and url for health report

Settings for plugins (all projects)

Go Administration -> Plugins -> 'Redmine Hudson Plugin' Configure.

  • You can choose format to write job description. HTML or Textile.
  • AutoFetch Mode. Plugin fetches information from Hudson during action 'index'.
  • Number of Builds per each Hudson Job. ( for search issues )
  • Number of Changesets per each Hudson Job. ( for search issues )

Support Language (thanks for contribute)

[de.yml] Jens Goldhammer, Florian Bartels
[es.yml] juancayetano.delgado
[fr.yml] Francois-Xavier CAUVIN, , Fabien Crespel
[hu.yml] Péter Major
[it.yml] Marco Bazzani
[ru.yml] Eugene Sirotkin
[zh.yml] Billy T

Install Instructions

Install plugin

  1. Copy the plugin into the vendor/plugins directory
  2. Migrate plugin: rake db:migrate_plugins RAILS_ENV=production
  3. Start Redmine

Enable plugin on project

  1. Move to Project settings
  2. Click 'Modules'
  3. Check the box 'Hudson', and save.

Edit Hudson settings

  1. Click 'Hudson' tab on the menu
  2. Click 'Settings' in sidebar
  3. Edit settings ( url, job... )

View jobs

  1. Click 'Hudson' tab on the menu (In first time, it takes long time)

Important reminder

Hudson

Recommend Hudson 1.313
If you use old version of Hudson, plugin may not get test results and changesets.
Plugin store build information, if plugin can't get test results or changesets.
But, If plugin fail, never get test results, changesets again.

Using IE8

Please use Compatibility View in IE8.

Exclusive Control

Plugin has no exclusive control, so plugin doesn't work when redmine works on multi-process.
Hopefully i fix it.

Something is wrong with plugin

you should try to delete data from database.
Use 'delete history' button in setting page.

Changelog

2.1.2

  • #1264 (Feature) use tree query parameter when plugin uses hudson api. (thanks, dborisyuk)
  • #1184 (Feature) [Patch] Add link to hudson server in sidebar
  • #1172 (Feature) French translation update for v2.1.1 (thanks, Fabien Crespel)
  • #1279 (Defect) Undefined method `add_available_filter' error with Redmine 2.2.1
  • #1258 (Defect) no issue filter item for hudson.
  • #1257 (Defect) gem 'simplecov' version is conflicted with redmine_backlogs
  • #1255 (Defect) plugin occurred error, when i choosed 'Plugin' from "look and feel"
  • #1253 (Defect) Plugin can't show build result on issue page, when project uses git
  • #1252 (Defect) cucumber failed, when i used latest gems.
  • #1212 (Defect) Gemfile conflicts with Redmine 2.3.0
  • #1188 (Defect) occurred internal error, when select jobs and save settings. (thanks, NAITHO and Akiko Takano)

2.1.1

  • #1162 (Proposal) redmine_hudson plugin Gemfile setting
  • #1160 (Defect) rake aborted! at "rake db:migrate_plugins RAILS_ENV=production" on ruby1.8.7
  • #1157 (Defect) gem 'simplecov' version is conflicted with code review plugin

2.1.0

  • #1153 (Defect) some language file uses old format.
  • #1147 (Defect) RoutingErrors for plugin assets.
  • #1128 (Proposal) Resolve conflict with backlogs
  • #1121 (Defect) Redmine 2.1.2 - Redmine_Hudson plugin 2.00 - ActionView::Template::Error (undefined method `auth_user' for #<HudsonSettings
  • #1118 (Feature) Support Redmine2.1.x

1.0.8.1

  • #1036 Error when issue details with related commits in Redmine 1.4.x and Hudson Plugin 1.0.8

1.0.8

  • #947 (Feature) German translation updated. thanks Terence Miller!
  • #1010 (Defect) Does'nt work on Redmine1.4

1.0.7

  • #682 (Defect) Plugin has no license
  • #675 (Defect) db:migrate_plugins down failed
  • #713 (Defect) I checked "Plugin uses below url for access to hudson.", but textbox doesn't appear
  • #714 (Feature) Dutch translation
  • #769 (Feature) Russian translation

1.0.6.1

  • #563 (Defect) can't disable rotate, when enable 'rotate' with one job.
  • #515 (Defect) can't save job rotate settings with mysql 5.0.

1.0.6

  • #476 (Feature) Support Atom format (thanks! Akiko Takano)

1.0.5

  • #411 (Feature) Chinese translation
  • #387 (Defect) Error occurs when Hudson.Fetch fails by HudsonApiException
  • #386 (Feature) Localization for permission string

1.0.4

  • #367 (Defect) Error occurs when delete all history
  • #366 (Defect) Fail to save if new project settings have health report settings
  • #344 (Defect) Fail to save Health report settings

1.0.3.1

  • #318 (Defect) some tests failed
  • #316 (Defect) internal error occurres on issue page

1.0.3

  • #282 (Defect) unit and feature test failed with redmine 0.9.x or trunk
  • #304 (Defect) migrate_plugins failed with MySQL
  • #306 (Feature) User can specify url separately, for plugin access and user access
  • #314 (Feature) Italian translation

1.0.2

  • #198 (Feature) You can download artifacts.
  • #266 (Feature) Clean up stored data.
  • #267 (Feature) Search issues related particular build.
  • #235 (Defect) Hudson icon does not display in activitiy view with IE
  • #273 (Defect) Internal error occures when hudson has no response.
  • #276 (Defect) Translation missing occures on redmine0.9.x or trunk
  • #284 (Defect) When saving the settings for a project, get the exception.
  • #286 (Defect) Can't get changeset information.
  • #288 (Defect) Can't show build results on issue redmine0.9.x or trunk
  • #291 (Defect) db:migrate_plugins failed on PostgreSQL

1.0.1.1

  • #244 "rake db:migrate_plugins" doesn't work without rcov
  • #242 Build job and Build history doesn't work on Redmine 0.8.7

1.0.1

  • #228 Install Instructions
  • #225 You never can check off 'Show Compact'
  • #224 You can find jobs built today
  • #219 Can't get RSS on activity page, when check 'Hudson' box
  • #218 Anonymous can't see acitivity
  • #212 Plugin can't show latest build result

1.0.0

  • You can get build results using rake task 'redmine_hudson:fetch'
  • Choose format to write job description HTML or Textile
  • You can also change description visibility dynamically

0.1.6

  • Health report settings comes in useful.

0.1.5

  • Show build result on issue. Use Hudson icons.

0.1.4

  • Show build history on activity. Save infomation on database.

0.1.3

  • Fixed BasicAuth bug.

0.1.2

  • Fixed https-connection bug.

0.1.1

  • Support basic-authentication and https-connection.

0.1.0

  • First release

Contact info

redmine_hudson_show_build_history_on_activity.png (12 KB) Toshiyuki Ando, 06/30/2009 02:16 PM

redmine_hudson_index_0_1_5_en_small.png (51.7 KB) Toshiyuki Ando, 07/04/2009 04:25 PM

redmine_hudson_show_build_result_on_issue.png (10.4 KB) Toshiyuki Ando, 07/04/2009 04:25 PM

redmine_hudson_settings_0_1_5_en.png (21 KB) Toshiyuki Ando, 07/04/2009 04:25 PM

redmine_hudson_index_0_1_6_en_small.png (72.1 KB) Toshiyuki Ando, 07/27/2009 04:15 PM

redmine_hudson_settings_0_1_6_en_small.png (57.5 KB) Toshiyuki Ando, 07/27/2009 04:16 PM

redmine_hudson_global_settings_1_0_0_en.png (8.17 KB) Toshiyuki Ando, 10/04/2009 02:00 PM

redmine_hudson_index_1_0_1_en_small.png (85.2 KB) Toshiyuki Ando, 11/08/2009 12:14 PM

redmine_hudson_settings_1_0_3_en_small.png (70 KB) Toshiyuki Ando, 03/28/2010 05:52 AM

redmine_hudson_index_1_0_6_en_small.png (86.2 KB) Toshiyuki Ando, 07/27/2010 10:31 PM

Add picture from clipboard (Maximum size: 50 MB)