feat: 消息设置
This commit is contained in:
parent
e59926abee
commit
2c839b0d61
|
@ -178,7 +178,7 @@ public class APIBackendListenerClient extends AbstractBackendListenerClient impl
|
||||||
List<NoticeDetail> noticeList = noticeService.queryNotice(testResult.getTestId());
|
List<NoticeDetail> noticeList = noticeService.queryNotice(testResult.getTestId());
|
||||||
mailService.sendApiNotification(report, noticeList);
|
mailService.sendApiNotification(report, noticeList);
|
||||||
}
|
}
|
||||||
if (StringUtils.equals(NoticeConstants.API, "API")) {
|
if (StringUtils.equals(NoticeConstants.API, report.getTriggerMode())) {
|
||||||
List<String> userIds = new ArrayList<>();
|
List<String> userIds = new ArrayList<>();
|
||||||
MessageSettingDetail messageSettingDetail = noticeService.searchMessage();
|
MessageSettingDetail messageSettingDetail = noticeService.searchMessage();
|
||||||
List<MessageDetail> taskList = messageSettingDetail.getJenkinsTask();
|
List<MessageDetail> taskList = messageSettingDetail.getJenkinsTask();
|
||||||
|
|
Loading…
Reference in New Issue