forked from phlegx/redmine_gitlab_hook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
18 lines (16 loc) · 581 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'redmine'
Redmine::Plugin.register :redmine_gitlab_hook do
name 'Redmine GitLab Hook plugin'
author 'Phlegx Systems'
description 'This plugin allows your Redmine installation to receive GitLab post-receive notifications'
version '4.0.0'
url 'https://github.com/phlegx/redmine_gitlab_hook'
author_url 'https://github.com/phlegx'
requires_redmine :version_or_higher => '3.0.0'
settings :default => {
:all_branches => 'yes',
:prune => 'yes',
:auto_create => 'yes',
:fetch_updates => 'yes'
}, :partial => 'settings/gitlab_settings'
end