summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-01-05 13:20:06 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2016-01-05 13:21:21 +0100
commitf60bceb988bd629f9adecc070ef5579d264f27c6 (patch)
treeb0fec4196faaf9ab8ed4915e22bdb41612336107 /lib
parenta31d2f2a712ded89c24f16766f8255faff6ab8ee (diff)
downloadgitlab-ce-f60bceb988bd629f9adecc070ef5579d264f27c6.tar.gz
Add CI data to projcet entity
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 26e7c956e8f..e8154e0f383 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -71,6 +71,9 @@ module API
expose :avatar_url
expose :star_count, :forks_count
expose :open_issues_count, if: lambda { |project, options| project.issues_enabled? && project.default_issues_tracker? }
+
+ expose :build_allow_git_fetch, :build_timeout, :build_coverage_regex
+ expose :runners_token
end
class ProjectMember < UserBasic