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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
e016291e
Commit
e016291e
authored
Dec 10, 2019
by
Catalin Irimie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documents that jobs are returned DESC by ID in API
parent
de08f61a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
doc/api/jobs.md
doc/api/jobs.md
+27
-27
No files found.
doc/api/jobs.md
View file @
e016291e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
## List project jobs
## List project jobs
Get a list of jobs in a project.
Get a list of jobs in a project.
Jobs are sorted in descending order of their IDs.
```
```
GET /projects/:id/jobs
GET /projects/:id/jobs
...
@@ -33,13 +33,23 @@ Example of response
...
@@ -33,13 +33,23 @@ Example of response
},
},
"coverage"
:
null
,
"coverage"
:
null
,
"allow_failure"
:
false
,
"allow_failure"
:
false
,
"created_at"
:
"2015-12-24T15:51:21.727Z"
,
"created_at"
:
"2015-12-24T15:51:21.802Z"
,
"started_at"
:
"2015-12-24T17:54:24.729Z"
,
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"finished_at"
:
"2015-12-24T17:54:24.921Z"
,
"finished_at"
:
"2015-12-24T17:54:27.895Z"
,
"duration"
:
0.192
,
"duration"
:
0.173
,
"artifacts_expire_at"
:
"2016-01-23T17:54:24.921Z"
,
"artifacts_file"
:
{
"id"
:
6
,
"filename"
:
"artifacts.zip"
,
"name"
:
"rspec:other"
,
"size"
:
1000
},
"artifacts"
:
[
{
"file_type"
:
"archive"
,
"size"
:
1000
,
"filename"
:
"artifacts.zip"
,
"file_format"
:
"zip"
},
{
"file_type"
:
"metadata"
,
"size"
:
186
,
"filename"
:
"metadata.gz"
,
"file_format"
:
"gzip"
},
{
"file_type"
:
"trace"
,
"size"
:
1500
,
"filename"
:
"job.log"
,
"file_format"
:
"raw"
},
{
"file_type"
:
"junit"
,
"size"
:
750
,
"filename"
:
"junit.xml.gz"
,
"file_format"
:
"gzip"
}
],
"artifacts_expire_at"
:
"2016-01-23T17:54:27.895Z"
,
"id"
:
7
,
"name"
:
"teaspoon"
,
"pipeline"
:
{
"pipeline"
:
{
"id"
:
6
,
"id"
:
6
,
"ref"
:
"master"
,
"ref"
:
"master"
,
...
@@ -52,7 +62,7 @@ Example of response
...
@@ -52,7 +62,7 @@ Example of response
"stage"
:
"test"
,
"stage"
:
"test"
,
"status"
:
"failed"
,
"status"
:
"failed"
,
"tag"
:
false
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/
6
"
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/
7
"
,
"user"
:
{
"user"
:
{
"id"
:
1
,
"id"
:
1
,
"name"
:
"Administrator"
,
"name"
:
"Administrator"
,
...
@@ -83,23 +93,13 @@ Example of response
...
@@ -83,23 +93,13 @@ Example of response
},
},
"coverage"
:
null
,
"coverage"
:
null
,
"allow_failure"
:
false
,
"allow_failure"
:
false
,
"created_at"
:
"2015-12-24T15:51:21.802Z"
,
"created_at"
:
"2015-12-24T15:51:21.727Z"
,
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"started_at"
:
"2015-12-24T17:54:24.729Z"
,
"finished_at"
:
"2015-12-24T17:54:27.895Z"
,
"finished_at"
:
"2015-12-24T17:54:24.921Z"
,
"duration"
:
0.173
,
"duration"
:
0.192
,
"artifacts_file"
:
{
"artifacts_expire_at"
:
"2016-01-23T17:54:24.921Z"
,
"filename"
:
"artifacts.zip"
,
"id"
:
6
,
"size"
:
1000
"name"
:
"rspec:other"
,
},
"artifacts"
:
[
{
"file_type"
:
"archive"
,
"size"
:
1000
,
"filename"
:
"artifacts.zip"
,
"file_format"
:
"zip"
},
{
"file_type"
:
"metadata"
,
"size"
:
186
,
"filename"
:
"metadata.gz"
,
"file_format"
:
"gzip"
},
{
"file_type"
:
"trace"
,
"size"
:
1500
,
"filename"
:
"job.log"
,
"file_format"
:
"raw"
},
{
"file_type"
:
"junit"
,
"size"
:
750
,
"filename"
:
"junit.xml.gz"
,
"file_format"
:
"gzip"
}
],
"artifacts_expire_at"
:
"2016-01-23T17:54:27.895Z"
,
"id"
:
7
,
"name"
:
"teaspoon"
,
"pipeline"
:
{
"pipeline"
:
{
"id"
:
6
,
"id"
:
6
,
"ref"
:
"master"
,
"ref"
:
"master"
,
...
@@ -112,7 +112,7 @@ Example of response
...
@@ -112,7 +112,7 @@ Example of response
"stage"
:
"test"
,
"stage"
:
"test"
,
"status"
:
"failed"
,
"status"
:
"failed"
,
"tag"
:
false
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/
7
"
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/
6
"
,
"user"
:
{
"user"
:
{
"id"
:
1
,
"id"
:
1
,
"name"
:
"Administrator"
,
"name"
:
"Administrator"
,
...
...
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