Skip to content

Jenkins plugin to add link to target Redmine issue for each build, and post build summary to target issue.

Notifications You must be signed in to change notification settings

intaro/redmine-build-notifier-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine Build Notifier plugin

Jenkins plugin to add the link to target issue of Redmine, and post build summary to target issue.

What's different about other plugins?

Redmine Build Notifier is a Jenkins plugin.

As you know, Redmine plugin for Jenkins already exists, but Redmine plugin needs commit info to integrate Jenkins and Redmine.

On one hand, this plugin aims to enable Jenkins build result to associate with target Redmine issue, in case no commits, no SCM.

Basic features

This plugin provides a post-build step to add link to target issue. And to post build summary to target issue via Redmine API. (Optionally)

  • You can associate a build with target Remine issue, passed as environment variable named
  • "REDMINE_ISSUE_ID", though target Redmine project has no SCM.
  • And you can set REDMINE_ISSUE_ID via build parameter.
  • If a build related to issue, link to target issue is shown at left side.
  • Optionally, you can post build summary to target issue via Redmine API.
  • Redmine issue id can be retrieved from git branch name. You can specify "Git branch prefix" in plugin settings. Example: Git branch prefix = "task-", git branch name = "task-1" then redmine issue id = "1".

Requirements

redmine-java-api (Included as dependencies)

Enabled Redmine API

To enable the API-style authentication, you have to check Enable REST API with JSONP option, in Administration -> Settings -> Authentication.

TODO

  • So many...
  • Enabled to choice the situation of build to post comment to target issue. (E.g. In case success only..)
  • Code should be more simplified, and refactored not to use Redmine Java API in view of the perpose of this plugin...
  • Write much better documentation in English..

About

Jenkins plugin to add link to target Redmine issue for each build, and post build summary to target issue.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 85.6%
  • HTML 14.4%