Commit 2a04a5d6 authored by 黎博's avatar 黎博

update

parent d2500a34
...@@ -26,10 +26,10 @@ public class JiraToDingding { ...@@ -26,10 +26,10 @@ public class JiraToDingding {
* 数据工单bug统计 * 数据工单bug统计
* @throws Exception * @throws Exception
*/ */
@Scheduled(cron = "0 0 20 * * ?") @Scheduled(cron = "0 0 20 * * ? *")
public void SJGDJiraIssueStatisticsTimedJob() throws Exception { public void SJGDJiraIssueStatisticsTimedJob() throws Exception {
Iterable<Issue> issues = jiraIssueService.getUnsolvedIssueListByProject("SJGD"); Iterable<Issue> issues = jiraIssueService.getUnsolvedIssueListByProject("SJGD");
String markdownMsg = DingdingUtils.buildMarkdownMsgForUnsolvedIssueList(issues); String markdownMsg = DingdingUtils.buildMarkdownMsgForUnsolvedIssueList(issues);
DingdingUtils.sendToDingding(markdownMsg, "https://oapi.dingtalk.com/robot/send?access_token=24161b53dd7616d4ff6fcb776c4e6f37919d7facc0199198161a926cc99bd60c"); DingdingUtils.sendToDingding(markdownMsg, sjgdDingUrl);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment