mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed 流水线接口调整
This commit is contained in:
@@ -115,7 +115,7 @@ class Api::V1::Projects::PipelinesController < Api::V1::BaseController
|
|||||||
|
|
||||||
def show
|
def show
|
||||||
@pipeline = Action::Pipeline.find_by(id: params[:id])
|
@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
|
end
|
||||||
|
|
||||||
def build_pipeline_yaml_new(pipeline_name, pipeline_json)
|
def build_pipeline_yaml_new(pipeline_name, pipeline_json)
|
||||||
|
|||||||
Reference in New Issue
Block a user