Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fe9a801a
Commit
fe9a801a
authored
Mar 02, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix API::V3::Services specs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
bf78685a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
lib/api/v3/services.rb
lib/api/v3/services.rb
+47
-0
No files found.
lib/api/v3/services.rb
View file @
fe9a801a
...
...
@@ -534,6 +534,53 @@ module API
type:
String
,
desc:
'The password of the user'
}
],
# EE-specific services
'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'
}
],
'jenkins-deprecated'
=>
[
{
required:
true
,
name: :project_url
,
type:
String
,
desc:
'Jenkins project URL like http://jenkins.example.com/job/my-project/'
,
},
{
required:
false
,
name: :pass_unstable
,
type:
Boolean
,
desc:
'Multi-project setup enabled?'
,
},
{
required:
false
,
name: :multiproject_enabled
,
type:
Boolean
,
desc:
'Should unstable builds be treated as passing?'
}
]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment