mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 13:45:44 +08:00
流水线列表新接口,同步启用禁用状态
This commit is contained in:
@@ -4,6 +4,6 @@ json.message "success"
|
|||||||
json.pipelines @pipelines.each do |pipeline|
|
json.pipelines @pipelines.each do |pipeline|
|
||||||
json.extract! pipeline, :id, :pipeline_name, :pipeline_status, :description, :file_name, :is_graphic_design,
|
json.extract! pipeline, :id, :pipeline_name, :pipeline_status, :description, :file_name, :is_graphic_design,
|
||||||
:repo_name, :repo_identifier, :branch, :event, :sha, :disable, :json, :yaml, :created_at, :updated_at
|
:repo_name, :repo_identifier, :branch, :event, :sha, :disable, :json, :yaml, :created_at, :updated_at
|
||||||
json.pipeline_type
|
json.pipeline_type pipeline.pipeline_type
|
||||||
json.run_data @run_result.select { |result| result[:filename] == pipeline.file_name }.first
|
json.run_data @run_result.select { |result| result[:filename] == pipeline.file_name }.first
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user