mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Add jenkins service to the list.
This commit is contained in:
@@ -73,7 +73,6 @@ class Project < ActiveRecord::Base
|
||||
has_one :asana_service, dependent: :destroy
|
||||
has_one :gemnasium_service, dependent: :destroy
|
||||
has_one :slack_service, dependent: :destroy
|
||||
has_one :jira_service, dependent: :destroy
|
||||
has_one :jenkins_service, dependent: :destroy
|
||||
has_one :buildbox_service, dependent: :destroy
|
||||
has_one :bamboo_service, dependent: :destroy
|
||||
|
||||
+20
-2
@@ -99,8 +99,26 @@ class Service < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.available_services_names
|
||||
%w(gitlab_ci campfire hipchat pivotaltracker flowdock assembla asana
|
||||
emails_on_push gemnasium slack pushover buildbox bamboo teamcity jira redmine custom_issue_tracker)
|
||||
%w(
|
||||
gitlab_ci
|
||||
campfire
|
||||
hipchat
|
||||
pivotaltracker
|
||||
flowdock
|
||||
assembla
|
||||
asana
|
||||
emails_on_push
|
||||
gemnasium
|
||||
slack
|
||||
jenkins
|
||||
pushover
|
||||
buildbox
|
||||
bamboo
|
||||
teamcity
|
||||
jira
|
||||
redmine
|
||||
custom_issue_tracker
|
||||
)
|
||||
end
|
||||
|
||||
def self.create_from_template(project_id, template)
|
||||
|
||||
Reference in New Issue
Block a user