diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-26 15:09:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-26 15:09:30 +0000 |
commit | 2eaa60e4555bb11ad5c0af905217f0fa61cf7cc9 (patch) | |
tree | 0b0096203355150802fb8f7f4fe208b41b5bed68 /lib/api/helpers/services_helpers.rb | |
parent | 142890d5bbefa7b1e1b30f263f9ad67d9d496d29 (diff) | |
download | gitlab-ce-2eaa60e4555bb11ad5c0af905217f0fa61cf7cc9.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/helpers/services_helpers.rb')
-rw-r--r-- | lib/api/helpers/services_helpers.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/api/helpers/services_helpers.rb b/lib/api/helpers/services_helpers.rb index 4adb27a7414..7bac27d1235 100644 --- a/lib/api/helpers/services_helpers.rb +++ b/lib/api/helpers/services_helpers.rb @@ -459,6 +459,32 @@ module API desc: 'Colorize messages' } ], + 'jenkins' => [ + { + required: true, + name: :jenkins_url, + type: String, + desc: 'Jenkins root URL like https://jenkins.example.com' + }, + { + required: true, + name: :project_name, + type: String, + desc: 'The URL-friendly project name. Example: my_project_name' + }, + { + required: false, + name: :username, + type: String, + desc: 'A user with access to the Jenkins server, if applicable' + }, + { + required: false, + name: :password, + type: String, + desc: 'The password of the user' + } + ], 'jira' => [ { required: true, @@ -767,6 +793,7 @@ module API ::HangoutsChatService, ::HipchatService, ::IrkerService, + ::JenkinsService, ::JiraService, ::MattermostSlashCommandsService, ::SlackSlashCommandsService, |