perf: 修复旧版本流水线数据发送通知标题为空的bug

This commit is contained in:
xiaojunnuo
2026-01-30 17:08:17 +08:00
parent 933aaeaf25
commit 9bee0e460b
3 changed files with 31 additions and 21 deletions

View File

@@ -465,6 +465,8 @@ export class Executor {
templateData.errors = errors;
templateData.pipelineResult = pipelineResult;
templateData.title = subject;
templateData.content = content;
for (const notification of this.pipeline.notifications) {
if (!notification.when.includes(when)) {