diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2018-05-24 08:55:47 +0200 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2018-06-01 14:23:45 +0200 |
commit | 9b2e19fe37a5d1389e9f83531bb6ba4b06a66de0 (patch) | |
tree | 8a56fa1ff3b4aa11801a0eda679388ab1ee94fa9 /lib/api/pipelines.rb | |
parent | 709e8b263863c5a92959700b67462c2ebe4f1831 (diff) | |
download | gitlab-ce-9b2e19fe37a5d1389e9f83531bb6ba4b06a66de0.tar.gz |
Adds variables to POST api/v4/projects/:id/pipeline
Diffstat (limited to 'lib/api/pipelines.rb')
-rw-r--r-- | lib/api/pipelines.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/pipelines.rb b/lib/api/pipelines.rb index 735591fedd5..85e073ce662 100644 --- a/lib/api/pipelines.rb +++ b/lib/api/pipelines.rb @@ -41,6 +41,7 @@ module API end params do requires :ref, type: String, desc: 'Reference' + optional :variables_attributes, Array, desc: 'Array of variables available in the pipeline' end post ':id/pipeline' do Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab-ce/issues/42124') |