diff --git a/app/controllers/api/v1/projects/pipelines_controller.rb b/app/controllers/api/v1/projects/pipelines_controller.rb index ce662f24d..888e68960 100644 --- a/app/controllers/api/v1/projects/pipelines_controller.rb +++ b/app/controllers/api/v1/projects/pipelines_controller.rb @@ -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? diff --git a/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb b/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb index d25705687..cbe7a8333 100644 --- a/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb +++ b/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb @@ -44,7 +44,7 @@ jobs: runs-on: 'ubuntu-latest' steps: <%@steps_nodes.each do |node| %> - - name: <%=node.cust_name || node.name %> + - name: <%=node.label || node.name %> <% if node.name !="shell" %> uses: <%=node.full_name %> <% end %>