diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-04-17 21:04:43 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-21 19:24:53 +0300 |
commit | f876234f92f868ee34038865521d86e1ebb3ae22 (patch) | |
tree | 81246cd7f61a07c918cdd8ebca19e281a539bec4 /doc | |
parent | b3e2939aa2904c92aba0399d511cb05228bfc9be (diff) | |
download | gitlab-ci-f876234f92f868ee34038865521d86e1ebb3ae22.tar.gz |
API for deploy jobs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/projects.md | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index dae4591..766ee12 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -161,7 +161,7 @@ Parameters: * `id` (required) - The ID of the Gitlab CI project -### Add a Job to a Project +### Add a parallel Job to a Project Adds a Job to a Gitlab CI Project (only via authorized user). @@ -173,10 +173,26 @@ Parameters: * `id` (required) - The ID of the Gitlab CI project * `name` (required) - The name of the Job to add * `commands` (required) - The script commands of the job - * `active` (optional) - The command is active of not - * `build_branches` (optional) - Trigger commit builds - * `build_tags` (optional) - Trigger tag builds - * `tags` (optional) - The tags associated with this job + * `active` (optional) - The command is active of not + * `build_branches` (optional) - Trigger commit builds + * `build_tags` (optional) - Trigger tag builds + * `tags` (optional) - The tags associated with this job + +### Add a deploy Job to a Project + +Adds a deploy Job to a Gitlab CI Project (only via +authorized user). + + POST /projects/:id/deploy_jobs + +Parameters: + + * `id` (required) - The ID of the Gitlab CI project + * `name` (required) - The name of the Job to add + * `commands` (required) - The script commands of the job + * `active` (optional) - The command is active of not + * `refs` (optional) - The list of refs + * `tags` (optional) - The tags associated with this job ### Remove a Job from a Project |