feat: 增加通知Provider和Jenkins自动同步

This commit is contained in:
湛兮
2026-06-11 21:07:54 +08:00
parent caec5a618d
commit 163f411485
14 changed files with 568 additions and 31 deletions
+2 -2
View File
@@ -171,7 +171,7 @@ export class DeployRunsService {
await this.deployNotificationService.sendDeployRunEvent(run, event);
this.auditService.record({
action: `WECOM_NOTIFICATION_${notification.status.toUpperCase()}`,
action: `DEPLOY_NOTIFICATION_${notification.status.toUpperCase()}`,
resourceType: 'deploy_run',
resourceId: run.id,
after: {
@@ -193,6 +193,6 @@ export class DeployRunsService {
const message =
error instanceof Error ? error.message : 'Jenkins sync failed';
return redactSensitive(message);
return redactSensitive({ message }).message;
}
}