diff options
author | Mathieu Parent <math.parent@gmail.com> | 2019-05-15 16:17:25 +0200 |
---|---|---|
committer | Mathieu Parent <math.parent@gmail.com> | 2019-07-03 16:18:05 +0200 |
commit | 5028f5d73d8fa69f72ac8d2b1cc493d82cf6f3e4 (patch) | |
tree | 16448b373f8c3d13068b5298816fa7eef98deee7 /lib/api/entities.rb | |
parent | 5f04d24934770e9aa366aac1400a302232eefd89 (diff) | |
download | gitlab-ce-5028f5d73d8fa69f72ac8d2b1cc493d82cf6f3e4.tar.gz |
Add auto_cancel_pending_pipelines to project API
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 3eb2d19c624..c6c7023042f 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -279,6 +279,7 @@ module API project.build_allow_git_fetch ? 'fetch' : 'clone' end expose :build_timeout + expose :auto_cancel_pending_pipelines expose :build_coverage_regex expose :ci_config_path, if: -> (project, options) { Ability.allowed?(options[:current_user], :download_code, project) } expose :shared_with_groups do |project, options| |