Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
8a53a0f0
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8a53a0f0
编写于
9月 09, 2018
作者:
M
Mehdi Lahmam
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add `duration` attributes to Jobs API docs
Follow up to !13644.
上级
98a5413d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
23 addition
and
13 deletion
+23
-13
doc/api/jobs.md
doc/api/jobs.md
+23
-13
未找到文件。
doc/api/jobs.md
浏览文件 @
8a53a0f0
...
...
@@ -33,7 +33,9 @@ Example of response
},
"coverage"
:
null
,
"created_at"
:
"2015-12-24T15:51:21.727Z"
,
"started_at"
:
"2015-12-24T17:54:24.729Z"
,
"finished_at"
:
"2015-12-24T17:54:24.921Z"
,
"duration"
:
0.192
,
"artifacts_expire_at"
:
"2016-01-23T17:54:24.921Z"
,
"id"
:
6
,
"name"
:
"rspec:other"
,
...
...
@@ -47,7 +49,6 @@ Example of response
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"started_at"
:
"2015-12-24T17:54:24.729Z"
,
"status"
:
"failed"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/6"
,
...
...
@@ -78,6 +79,9 @@ Example of response
},
"coverage"
:
null
,
"created_at"
:
"2015-12-24T15:51:21.802Z"
,
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"finished_at"
:
"2015-12-24T17:54:27.895Z"
,
"duration"
:
0.173
,
"artifacts_file"
:
{
"filename"
:
"artifacts.zip"
,
"size"
:
1000
...
...
@@ -88,7 +92,6 @@ Example of response
{
"file_type"
:
"trace"
,
"size"
:
1500
,
"filename"
:
"job.log"
,
"file_format"
:
"raw"
},
{
"file_type"
:
"junit"
,
"size"
:
750
,
"filename"
:
"junit.xml.gz"
,
"file_format"
:
"gzip"
}
],
"finished_at"
:
"2015-12-24T17:54:27.895Z"
,
"artifacts_expire_at"
:
"2016-01-23T17:54:27.895Z"
,
"id"
:
7
,
"name"
:
"teaspoon"
,
...
...
@@ -102,7 +105,6 @@ Example of response
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"status"
:
"failed"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/7"
,
...
...
@@ -158,7 +160,9 @@ Example of response
},
"coverage"
:
null
,
"created_at"
:
"2015-12-24T15:51:21.727Z"
,
"started_at"
:
"2015-12-24T17:54:24.729Z"
,
"finished_at"
:
"2015-12-24T17:54:24.921Z"
,
"duration"
:
0.192
,
"artifacts_expire_at"
:
"2016-01-23T17:54:24.921Z"
,
"id"
:
6
,
"name"
:
"rspec:other"
,
...
...
@@ -172,7 +176,6 @@ Example of response
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"started_at"
:
"2015-12-24T17:54:24.729Z"
,
"status"
:
"failed"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/6"
,
...
...
@@ -203,6 +206,9 @@ Example of response
},
"coverage"
:
null
,
"created_at"
:
"2015-12-24T15:51:21.802Z"
,
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"finished_at"
:
"2015-12-24T17:54:27.895Z"
,
"duration"
:
0.173
,
"artifacts_file"
:
{
"filename"
:
"artifacts.zip"
,
"size"
:
1000
...
...
@@ -213,7 +219,6 @@ Example of response
{
"file_type"
:
"trace"
,
"size"
:
1500
,
"filename"
:
"job.log"
,
"file_format"
:
"raw"
},
{
"file_type"
:
"junit"
,
"size"
:
750
,
"filename"
:
"junit.xml.gz"
,
"file_format"
:
"gzip"
}
],
"finished_at"
:
"2015-12-24T17:54:27.895Z"
,
"artifacts_expire_at"
:
"2016-01-23T17:54:27.895Z"
,
"id"
:
7
,
"name"
:
"teaspoon"
,
...
...
@@ -227,7 +232,6 @@ Example of response
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"status"
:
"failed"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/7"
,
...
...
@@ -281,7 +285,9 @@ Example of response
},
"coverage"
:
null
,
"created_at"
:
"2015-12-24T15:51:21.880Z"
,
"started_at"
:
"2015-12-24T17:54:30.733Z"
,
"finished_at"
:
"2015-12-24T17:54:31.198Z"
,
"duration"
:
0.465
,
"artifacts_expire_at"
:
"2016-01-23T17:54:31.198Z"
,
"id"
:
8
,
"name"
:
"rubocop"
,
...
...
@@ -295,7 +301,6 @@ Example of response
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"started_at"
:
"2015-12-24T17:54:30.733Z"
,
"status"
:
"failed"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/8"
,
...
...
@@ -319,7 +324,7 @@ Example of response
## Get job artifacts
> **Notes**:
>
>
> - [Introduced][ce-2893] in GitLab 8.5.
Get job artifacts of a project.
...
...
@@ -351,7 +356,7 @@ Response:
## Download the artifacts archive
> **Notes**:
>
>
> - [Introduced][ce-5347] in GitLab 8.10.
Download the artifacts archive from the given reference name and job provided the
...
...
@@ -474,14 +479,15 @@ Example of response
},
"coverage"
:
null
,
"created_at"
:
"2016-01-11T10:13:33.506Z"
,
"finished_at"
:
"2016-01-11T10:14:09.526Z"
,
"started_at"
:
"2016-01-11T10:14:09.526Z"
,
"finished_at"
:
null
,
"duration"
:
8
,
"id"
:
42
,
"name"
:
"rubocop"
,
"ref"
:
"master"
,
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"started_at"
:
null
,
"status"
:
"canceled"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/42"
,
...
...
@@ -521,14 +527,15 @@ Example of response
},
"coverage"
:
null
,
"created_at"
:
"2016-01-11T10:13:33.506Z"
,
"started_at"
:
null
,
"finished_at"
:
null
,
"duration"
:
null
,
"id"
:
42
,
"name"
:
"rubocop"
,
"ref"
:
"master"
,
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"started_at"
:
null
,
"status"
:
"pending"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/42"
,
...
...
@@ -581,6 +588,7 @@ Example of response
"created_at"
:
"2016-01-11T10:13:33.506Z"
,
"started_at"
:
"2016-01-11T10:13:33.506Z"
,
"finished_at"
:
"2016-01-11T10:15:10.506Z"
,
"duration"
:
97.0
,
"status"
:
"failed"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/42"
,
...
...
@@ -633,6 +641,7 @@ Example response:
"created_at"
:
"2016-01-11T10:13:33.506Z"
,
"started_at"
:
"2016-01-11T10:13:33.506Z"
,
"finished_at"
:
"2016-01-11T10:15:10.506Z"
,
"duration"
:
97.0
,
"status"
:
"failed"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/42"
,
...
...
@@ -672,14 +681,15 @@ Example of response
},
"coverage"
:
null
,
"created_at"
:
"2016-01-11T10:13:33.506Z"
,
"started_at"
:
null
,
"finished_at"
:
null
,
"duration"
:
null
,
"id"
:
42
,
"name"
:
"rubocop"
,
"ref"
:
"master"
,
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"started_at"
:
null
,
"status"
:
"started"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/42"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录