mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
流水线查询返回字段修改
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user