10 lines
454 B
Ruby
10 lines
454 B
Ruby
json.status 0
|
|
json.message "success"
|
|
|
|
json.pipelines @pipelines.each do |pipeline|
|
|
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
|
|
json.pipeline_type pipeline.pipeline_type
|
|
json.run_data @run_result.select { |result| result[:filename] == pipeline.file_name }.first
|
|
end
|