Browse Source

流水线列表新接口

pull/347/head
xxq250 1 year ago
parent
commit
6e92086d3e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/api/v1/projects/pipelines/index.json.jbuilder

+ 1
- 1
app/views/api/v1/projects/pipelines/index.json.jbuilder View File

@@ -5,5 +5,5 @@ 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
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

Loading…
Cancel
Save