summaryrefslogtreecommitdiff
path: root/docs/gl_objects/builds.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-08-12 09:47:33 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-09-02 15:43:52 +0200
commiteb191dfaa42eb39d9d1b5acc21fc0c4c0fb99427 (patch)
treef047567b6b7d85e9581ea96eb00f5d474da2423a /docs/gl_objects/builds.rst
parent4057644f03829e4439ec8ab1feacf90c65d976eb (diff)
downloadgitlab-eb191dfaa42eb39d9d1b5acc21fc0c4c0fb99427.tar.gz
Add support for group variables
Diffstat (limited to 'docs/gl_objects/builds.rst')
-rw-r--r--docs/gl_objects/builds.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/gl_objects/builds.rst b/docs/gl_objects/builds.rst
index 52bdb1a..1c95eb1 100644
--- a/docs/gl_objects/builds.rst
+++ b/docs/gl_objects/builds.rst
@@ -56,11 +56,11 @@ Remove a trigger:
:start-after: # trigger delete
:end-before: # end trigger delete
-Project variables
-=================
+Projects and groups variables
+=============================
-You can associate variables to projects to modify the build/job script
-behavior.
+You can associate variables to projects and groups to modify the build/job
+scripts behavior.
Reference
---------
@@ -70,6 +70,9 @@ Reference
+ :class:`gitlab.v4.objects.ProjectVariable`
+ :class:`gitlab.v4.objects.ProjectVariableManager`
+ :attr:`gitlab.v4.objects.Project.variables`
+ + :class:`gitlab.v4.objects.GroupVariable`
+ + :class:`gitlab.v4.objects.GroupVariableManager`
+ + :attr:`gitlab.v4.objects.Group.variables`
* v3 API
@@ -78,7 +81,10 @@ Reference
+ :attr:`gitlab.v3.objects.Project.variables`
+ :attr:`gitlab.Gitlab.project_variables`
-* GitLab API: https://docs.gitlab.com/ce/api/project_level_variables.html
+* GitLab API
+
+ + https://docs.gitlab.com/ce/api/project_level_variables.html
+ + https://docs.gitlab.com/ce/api/group_level_variables.html
Examples
--------