Commit fe9a801a authored by Rémy Coutable's avatar Rémy Coutable

Fix API::V3::Services specs

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent bf78685a
......@@ -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?'
}
]
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment