revert(cd): 恢复原生产发布脚本
build / build (push) Successful in 1m57s

This commit is contained in:
姚章浩
2026-11-24 23:37:56 +08:00
parent 49f9994ea6
commit bb57a9835c
3 changed files with 2 additions and 17 deletions
+2 -1
View File
@@ -114,7 +114,8 @@ def publish_candidate(plan, receipt, run):
single = [item['task'] for item in plan['items']] == [plan['task']]
if single:
body = body.split('业务单记录用例')[0] + '请在本单逐项记录实测证据。在结构化报告加 cases 对象,business 和 regression 各列本轮通过的业务及同批回归用例编号,两组编号独立,合计等于 required。验收登记后,由负责人在本单切到待发布。'
manual = single and cd.manual_demand(task(plan['task']))
record = task(plan['task']) if single else {}
manual = (record.get('typeId') or (record.get('type') or {}).get('id')) == '1b7f1bb1-72c2-4106-b305-85604cf6d7e2'
if manual:
body += '\n候选已就绪。负责人可在本单切到「测试中」启动同包测试。'
key = 'ready ' + receipt['bundle']