fixed 流水线接口调整

This commit is contained in:
xxq250 2025-03-07 15:46:18 +08:00
parent d5511ad8ee
commit e74cd4f661
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class Api::V1::Projects::PipelinesController < Api::V1::BaseController
def show
@pipeline = Action::Pipeline.find_by(id: params[:id])
@pipeline = Action::Pipeline.new(id: 0, pipeline_name: "test-ss", yaml: build_test_yaml) if @pipeline.blank?
# @pipeline = Action::Pipeline.new(id: 0, pipeline_name: "test-ss", yaml: build_test_yaml) if @pipeline.blank?
end
def build_pipeline_yaml_new(pipeline_name, pipeline_json)