2021-01-12 10:23:26 +08:00
|
|
|
json.id pipeline.id
|
|
|
|
|
json.pipeline_name pipeline.pipeline_name
|
2021-01-26 17:15:53 +08:00
|
|
|
json.pipeline_status pipeline.pipeline_status == 'unknown' ? '' : pipeline.pipeline_status
|
2021-01-12 10:23:26 +08:00
|
|
|
json.file_name pipeline.file_name
|
2021-01-19 11:10:47 +08:00
|
|
|
json.sync pipeline.sync
|
2021-01-26 17:15:53 +08:00
|
|
|
json.branch pipeline.branch
|
|
|
|
|
json.event pipeline.event
|
|
|
|
|
json.sha pipeline.sha
|
2021-01-19 11:52:29 +08:00
|
|
|
json.identifier pipeline.identifier
|
2021-01-26 17:15:53 +08:00
|
|
|
json.last_build_time pipeline.last_build_time.nil? ? '' : pipeline.last_build_time.strftime("%Y-%m-%d %H:%M:%S")
|
2021-01-13 15:10:24 +08:00
|
|
|
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")
|