mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-19 03:05:57 +08:00
增加流水线节点名称,和标识区分label
This commit is contained in:
@@ -110,7 +110,7 @@ class Api::V1::Projects::PipelinesController < Api::V1::BaseController
|
||||
# Rails.logger.info "input_node=====0===#{input_node["name"]}======#{input_node["inputs"]}"
|
||||
node = Action::Node.find_by(name: input_node["name"])
|
||||
next if node.blank?
|
||||
node.cust_name = input_node["label"] if input_node["label"].present?
|
||||
node.label = input_node["label"] if input_node["label"].present?
|
||||
run_values = {}
|
||||
input_values = {}
|
||||
if input_node["inputs"].present?
|
||||
@@ -173,7 +173,7 @@ class Api::V1::Projects::PipelinesController < Api::V1::BaseController
|
||||
params_nodes.each do |input_node|
|
||||
node = Action::Node.find_by(name: input_node["name"])
|
||||
next if node.blank?
|
||||
node.cust_name = input_node["labelf"] if input_node["label"].present?
|
||||
node.label = input_node["label"] if input_node["label"].present?
|
||||
run_values = {}
|
||||
input_values = {}
|
||||
if input_node["inputs"].present?
|
||||
|
||||
Reference in New Issue
Block a user