BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
16e44ad7
Commit
16e44ad7
authored
Sep 14, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix IOError when fetching a new build by runner
parent
6014019e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
entities.rb
lib/ci/api/entities.rb
+8
-1
No files found.
lib/ci/api/entities.rb
View file @
16e44ad7
...
@@ -11,9 +11,16 @@ module Ci
...
@@ -11,9 +11,16 @@ module Ci
expose
:builds
expose
:builds
end
end
class
BuildOptions
<
Grape
::
Entity
expose
:image
expose
:services
end
class
Build
<
Grape
::
Entity
class
Build
<
Grape
::
Entity
expose
:id
,
:commands
,
:ref
,
:sha
,
:project_id
,
:repo_url
,
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
|
expose
:timeout
do
|
model
|
model
.
timeout
model
.
timeout
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment