forked from Gitlink/forgeplus
流水线查询返回字段修改
This commit is contained in:
parent
5e0cdba1f9
commit
05416339e5
|
@ -9,6 +9,8 @@
|
|||
# updated_at :datetime not null
|
||||
# pipeline_status :string(50) default("unknown"), not null
|
||||
# login :string(255)
|
||||
# sync :integer default("0"), not null
|
||||
# project_id :integer
|
||||
#
|
||||
|
||||
class Ci::Pipeline < Ci::LocalBase
|
||||
|
|
|
@ -2,5 +2,7 @@ json.id pipeline.id
|
|||
json.pipeline_name pipeline.pipeline_name
|
||||
json.pipeline_status pipeline.pipeline_status
|
||||
json.file_name pipeline.file_name
|
||||
json.sync pipeline.sync
|
||||
json.project_id pipeline.project_id
|
||||
json.created_at pipeline.created_at.strftime("%Y-%m-%d %H:%M:%S")
|
||||
json.updated_at pipeline.updated_at.strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
|
Loading…
Reference in New Issue