Browse Source

fixed 节点名称带上id,方便运行中状态读取

pull/347/head
xxq250 1 year ago
parent
commit
944a85dbbb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb

+ 1
- 1
app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb View File

@@ -43,7 +43,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
<%job.sub_nodes.each do |node| %>
- name: "<%=node.label || node.name %>[<%=job.node_id %>]"
- name: "<%=node.label || node.name %>[<%=node.node_id %>]"
<% if node.name !="shell" %>
uses: <%=node.full_name %>
<% end %>


Loading…
Cancel
Save