feat: 增加通知Provider和Jenkins自动同步
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user