BigW Consortium Gitlab

Commit 16e44ad7 by Kamil Trzcinski

Fix IOError when fetching a new build by runner

parent 6014019e
......@@ -11,9 +11,16 @@ module Ci
expose :builds
end
class BuildOptions < Grape::Entity
expose :image
expose :services
end
class Build < Grape::Entity
expose :id, :commands, :ref, :sha, :project_id, :repo_url,
:before_sha, :allow_git_fetch, :project_name, :options
:before_sha, :allow_git_fetch, :project_name
expose :options, using: BuildOptions
expose :timeout do |model|
model.timeout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment