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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
470b3a48
Commit
470b3a48
authored
Jan 12, 2016
by
Tomasz Maczukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix doc/api/builds.md
parent
5ba0232f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
41 deletions
+19
-41
doc/api/builds.md
doc/api/builds.md
+19
-41
No files found.
doc/api/builds.md
View file @
470b3a48
...
@@ -127,11 +127,9 @@ Parameters:
...
@@ -127,11 +127,9 @@ Parameters:
-
`scope`
(optional) - The scope of builds to show (one or array of: pending, running, failed, success, canceled; if none provided showing all builds)
-
`scope`
(optional) - The scope of builds to show (one or array of: pending, running, failed, success, canceled; if none provided showing all builds)
```
json
```
json
[
```
{
"commit"
:
{
## Get a single build
mmit": {
"author_email"
:
"admin@example.com"
,
"author_email"
:
"admin@example.com"
,
"author_name"
:
"Administrator"
,
"author_name"
:
"Administrator"
,
"created_at"
:
"2015-12-24T16:51:14.000+01:00"
,
"created_at"
:
"2015-12-24T16:51:14.000+01:00"
,
...
@@ -141,41 +139,18 @@ mmit": {
...
@@ -141,41 +139,18 @@ mmit": {
"title"
:
"Test the CI integration."
"title"
:
"Test the CI integration."
},
},
"coverage"
:
null
,
"coverage"
:
null
,
"created_at": "201
5-12-24T15:51:21.957
Z",
"created_at"
:
"201
6-01-11T10:13:33.506
Z"
,
"download_url"
:
null
,
"download_url"
:
null
,
"finished_at": "201
5-12-24T17:54:33.913
Z",
"finished_at"
:
"201
6-01-11T10:14:09.526
Z"
,
"id": 9,
"id"
:
6
9
,
"name": "
brakeman
",
"name"
:
"
rubocop
"
,
"ref"
:
"master"
,
"ref"
:
"master"
,
"runner"
:
null
,
"runner"
:
null
,
"stage"
:
"test"
,
"stage"
:
"test"
,
"started_at":
"2015-12-24T17:54:33.727Z"
,
"started_at"
:
null
,
"status": "
fai
led",
"status"
:
"
cance
led"
,
"tag"
:
false
,
"tag"
:
false
,
"user": {
"user"
:
null
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
"bio": null,
"can_create_group": true,
"can_create_project": true,
"color_scheme_id": 2,
"created_at": "2015-12-21T13:14:24.077Z",
"current_sign_in_at": "2016-01-11T09:31:40.472Z",
"email": "admin@example.com",
"id": 1,
"identities": [],
"is_admin": true,
"linkedin": "",
"name": "Administrator",
"projects_limit": 100,
"skype": "",
"state": "active",
"theme_id": 3,
"twitter": "",
"two_factor_enabled": false,
"username": "root",
"web_url": "http://gitlab.dev/u/root",
"website_url": ""
}
},
},
{
{
"commit"
:
{
"commit"
:
{
...
@@ -188,15 +163,15 @@ mmit": {
...
@@ -188,15 +163,15 @@ mmit": {
"title"
:
"Test the CI integration."
"title"
:
"Test the CI integration."
},
},
"coverage"
:
null
,
"coverage"
:
null
,
"created_at": "2015-12-24T15:51:21.
880
Z",
"created_at"
:
"2015-12-24T15:51:21.
957
Z"
,
"download_url"
:
null
,
"download_url"
:
null
,
"finished_at": "2015-12-24T17:54:3
1.198
Z",
"finished_at"
:
"2015-12-24T17:54:3
3.913
Z"
,
"id":
8
,
"id"
:
9
,
"name": "
rubocop
",
"name"
:
"
brakeman
"
,
"ref"
:
"master"
,
"ref"
:
"master"
,
"runner"
:
null
,
"runner"
:
null
,
"stage"
:
"test"
,
"stage"
:
"test"
,
"started_at": "2015-12-24T17:54:3
0.733
Z",
"started_at"
:
"2015-12-24T17:54:3
3.727
Z"
,
"status"
:
"failed"
,
"status"
:
"failed"
,
"tag"
:
false
,
"tag"
:
false
,
"user"
:
{
"user"
:
{
...
@@ -206,7 +181,7 @@ mmit": {
...
@@ -206,7 +181,7 @@ mmit": {
"can_create_project"
:
true
,
"can_create_project"
:
true
,
"color_scheme_id"
:
2
,
"color_scheme_id"
:
2
,
"created_at"
:
"2015-12-21T13:14:24.077Z"
,
"created_at"
:
"2015-12-21T13:14:24.077Z"
,
"current_sign_in_at": "2016-01-1
1T09:31:40.472
Z",
"current_sign_in_at"
:
"2016-01-1
2T10:30:48.315
Z"
,
"email"
:
"admin@example.com"
,
"email"
:
"admin@example.com"
,
"id"
:
1
,
"id"
:
1
,
"identities"
:
[],
"identities"
:
[],
...
@@ -225,6 +200,9 @@ mmit": {
...
@@ -225,6 +200,9 @@ mmit": {
}
}
}
}
]
]
```
## Get a single build
Get a single build of a project
Get a single build of a project
...
...
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