continuous-integrationjenkinsredmineredmine-pluginsjenkins-plugins

How can I integrate Jenkins with Redmine?


I would like to integrate Jenkins with Redmine. If some build breaks, Jenkins would open an issue in Redmine to notify it with the console output.

How can I do it? Are there any plugins? Are there any implementation guides? I couldn't find a solution yet.


Solution

  • There are two ways to achieve this

    1. install hudson plugin inside redmine, see http://www.redmine.org/plugins/t-ando_redmine_hudson , it will let you know the build inside redmine. (**2014.5.7 [Updated] change to redmine plugin list **)

    2. install redmine plugin inside jenkins (hudson), unfortunately the plugin is not maintained any more, https://wiki.jenkins-ci.org/display/JENKINS/Redmine+Plugin . And JIRA jenkins plugin is a way how redmine plugin should be supported. ([Updated] the plugin is back since 2013)

    [updated] I tried to add this functions for solution 2 in 2011.2, see my blog: http://larrycaiyu.com/blog/2011/02/24/associate-ci-build-information-in-redmine-issue-by-using-redmine-rest-api/, but I stopped after that, because

    1. In the community, it seems solution 1 is preferred.
    2. lots of functions are already inside JIRA, it is better to persuade them to make it as a common issue plugin inside jenkins.