summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-04-29 18:11:25 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-04-29 18:11:25 +0000
commit87f1736a7381f39e373ce5bdae2d7185b9523108 (patch)
treec4a2cfbf20e59da8299cc3bef87f99e81a71dff1 /lib/api
parentee189fd511e1a2c06f05e0d40e1d0b8875151391 (diff)
parentb65fcc320d65367973a58a01618914056993541b (diff)
downloadgitlab-ce-87f1736a7381f39e373ce5bdae2d7185b9523108.tar.gz
Merge branch 'jramsay-44880-filter-pipelines-by-sha' into 'master'
Add sha filter to list pipelines Closes #44880 See merge request gitlab-org/gitlab-ce!18125
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/pipelines.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/pipelines.rb b/lib/api/pipelines.rb
index d2b8b832e4e..735591fedd5 100644
--- a/lib/api/pipelines.rb
+++ b/lib/api/pipelines.rb
@@ -19,6 +19,7 @@ module API
optional :status, type: String, values: HasStatus::AVAILABLE_STATUSES,
desc: 'The status of pipelines'
optional :ref, type: String, desc: 'The ref of pipelines'
+ optional :sha, type: String, desc: 'The sha of pipelines'
optional :yaml_errors, type: Boolean, desc: 'Returns pipelines with invalid configurations'
optional :name, type: String, desc: 'The name of the user who triggered pipelines'
optional :username, type: String, desc: 'The username of the user who triggered pipelines'