Method: Gitlab::Client::BuildVariables#create_group_variable
- Defined in:
- lib/gitlab/client/build_variables.rb
#create_group_variable(group, key, value) ⇒ Gitlab::ObjectifiedHash
Create a build variable for a group.
99 100 101 |
# File 'lib/gitlab/client/build_variables.rb', line 99 def create_group_variable(group, key, value) post("/groups/#{url_encode group}/variables", body: { key: key, value: value }) end |