Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
lib/ci/api/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