summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorMichel Courtine <michaK@ivoltage.me>2015-02-12 09:56:55 +0100
committerMichel Courtine <michaK@ivoltage.me>2015-02-12 09:56:55 +0100
commit76256521e42df08cb7ecbd22bcde55c11a97290f (patch)
tree373dce82ec708fed88946d9ccc3b25868457383e /doc/api
parent02a1d95fb2503106443feaea82a20ac472c40ecf (diff)
downloadgitlab-ci-76256521e42df08cb7ecbd22bcde55c11a97290f.tar.gz
project jobs api: exposed active, build_branches, build_tags, tags. Implemented tests and updated documentation
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 14e84ee..436dcda 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -173,6 +173,10 @@ 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
### Remove a Job from a Project